PowenKo,Unity Package,Shader Replacement

January 3, 2012   ·   0 Comments

Screen Shot 2012-01-03 at 1.56.44 PM

Shader Replacement

This project shows various uses of shader replacement (RenderWithShader) functionality.





Being able to render scene with alternate set of shaders does have very interesting uses. This example project just scratches the surface of what is possible.


The project has several scenes showing different effects:

Depth of Field
A simple Depth-of-Field implementation. Shader replacement used to render blurriness factor of the scene.
Edge Detection
Edge detection image effect based on image-space normals and depth.
Glowing Things
Per-object colored glow. Some objects in the scene render themselves into glow mask texture.
Show Overdraw
A performance optimization tool that shows depth complexity of the scene.
Show RenderTypes
Shows different shader types used in Unity.
Show UV Mapping
A debugging tool that shows checkerboard UV mapping.
Soft Particles
Particles shader that fades out near intersections with the scene. Shader replacement used to render depth of the scene.
shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter


Readers Comments (0)

You must be logged in to post a comment.

PowenKo’s Online Store





Recent Posts