Its been a while since I posted a shader, so here’s one that i did a while back for design purposes. Its a Triplanar shader that does not require a texture – the checker pattern is the result of a little shader math. This is great for layout purposes, as you can simply stretch and skew an object all you want, and still get an accurate read on how it sizes up on other objects in the level.
The shader is Unlit and is quite simple compared the the other Triplanar shaders I wrote, since it is used for prototyping more than anything. It does use blending, although you could try cutoff blending like in Triplanar 2.

triplanar3.cgfx
File Size: 3 kb
File Type: cgfx

Download File


triplanar3.shader
File Size: 3 kb
File Type: shader

Download File


Leave a Reply

Your email address will not be published. Required fields are marked *