hi,
i’m new to unity and it’s difficult to understand shaders
.
what i want to do is to color a mesh after a precise z-value with 0.5 alpha white.
it seems like a fog but at a precise point, independant from the camera.
i tried with some z-buffer things and depth but it didn’t succeed (z-buffer is more for the camera but i want really uniformely color after the z position 0.5);
can someone tell me how. it will spare me 2-3 days ![]()
thank you!
You mean z 0.5 in world coordinates?
– whydoidoityes world coordinates.
– wozhdal2