{"id":132,"date":"2011-10-21T19:05:48","date_gmt":"2011-10-21T16:05:48","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=132"},"modified":"2013-08-15T21:52:40","modified_gmt":"2013-08-15T18:52:40","slug":"mvertexpainter-v1-0-webplayer","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2011\/10\/21\/mvertexpainter-v1-0-webplayer\/","title":{"rendered":"mVertexPainter v1.0 (demo + scene with source)"},"content":{"rendered":"<p><a href=\"http:\/\/unitycoder.com\/upload\/demos\/mVertexPainter\/\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"133\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2011\/10\/21\/mvertexpainter-v1-0-webplayer\/mvertexpainter\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexpainter.png?fit=680%2C478&amp;ssl=1\" data-orig-size=\"680,478\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mvertexpainter\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexpainter.png?fit=300%2C210&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexpainter.png?fit=680%2C478&amp;ssl=1\" class=\"alignnone size-full wp-image-133\" title=\"mvertexpainter\" alt=\"\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexpainter.png?resize=680%2C478\" width=\"680\" height=\"478\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexpainter.png?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexpainter.png?resize=300%2C210&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p><strong>VertexPainter<\/strong> &#8211; basic version 1.0.<\/p>\n<p>You could probably do some cool effects with this:<br \/>\n&#8211; Make it as an editor script (like this: <a href=\"http:\/\/blogs.unity3d.com\/2011\/03\/24\/ninjacamp-iii-vertex-awesome\/\" target=\"_blank\">http:\/\/blogs.unity3d.com\/2011\/03\/24\/ninjacamp-iii-vertex-awesome\/<\/a> )<br \/>\n&#8211; Damage marks on collision<br \/>\n&#8211; Transparency based on vertex colors<br \/>\n&#8211; Character customization, paint player colors, car colors..<br \/>\n&#8211; Extrude vertices based on vertex color (bumps &amp; dents on collision)<br \/>\n&#8211; Painting roads, paths, revealing textures etc. (realtime, based on bullet\/mouse\/player location\/collision)<br \/>\n&#8211; Etc..<\/p>\n<p>Separate colorpicker is modified from here (<a href=\"http:\/\/answers.unity3d.com\/questions\/49779\/i-am-trying-to-make-this-color-picker-script-work.html\" target=\"_blank\">unity answers<\/a>)<br \/>\nVertex color shader is from here: (<a href=\"http:\/\/www.unifycommunity.com\/wiki\/index.php?title=VertexColor\" target=\"_blank\">unify wiki<\/a>) (you can also use the ones from shaderlab tutorials)<br \/>\n<strong><br \/>\nWebplayer:<\/strong><br \/>\n<a href=\"http:\/\/unitycoder.com\/upload\/demos\/mVertexPainter\/\" target=\"_blank\">http:\/\/unitycoder.com\/upload\/demos\/mVertexPainter\/<\/a><\/p>\n<p><strong>Download source + webplayer scene:<br \/>\n<\/strong> <a title=\"Download\" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=42&amp;uid=un1t3c0d5r\" target=\"_blank\">mVertexPainter.unitypackage<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VertexPainter &#8211; basic version 1.0. You could probably do some cool effects with this: &#8211; Make it as an editor script (like this: http:\/\/blogs.unity3d.com\/2011\/03\/24\/ninjacamp-iii-vertex-awesome\/ ) &#8211; Damage marks on collision &#8211; Transparency based on vertex colors &#8211; Character customization, paint player colors, car colors.. &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":133,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,13,3],"tags":[79,35,34,33],"class_list":["post-132","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-shaders","category-unity3d","tag-color","tag-demo","tag-paint","tag-vertex"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/08\/mvertexpainter.png?fit=680%2C478&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-28","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":18,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":2262,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/132\/revisions\/2262"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/133"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}