How would one create this effect?:
When any part of a character mesh is occluded by a building (for example) mesh, draw those occluded pixels as a grey silhouette on top of everything else in the scene.
Point me in the right direction?
~Thanks
How would one create this effect?:
When any part of a character mesh is occluded by a building (for example) mesh, draw those occluded pixels as a grey silhouette on top of everything else in the scene.
Point me in the right direction?
~Thanks
Check out Jessy’s ShaderLab tutorials, especially Tutorial 9 (ZTest).