Depth Fade On One Side of Mesh?
I am using depth fade for my ocean opacity which looks good from the surface, but under water it turns the sky black, which I suppose would be expected since it is a 2 sided material. Is there a way to apply depth fade to only the top side of the material, maybe based on normals? I tried multiplying it by vertexnormalws, but my ocean vanished.
asked May 10 '18 at 04:41 PM in Rendering
You can use Two Sided sign material expression, to determine, if you are rendering front or back face, and adjust fade accordingly.
answered May 10 '18 at 05:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here