[Closed] Using CustomDepth in material
I've succesfully rendered stuff to CustomDepth. It seems to be impossible to read this into a material. I get an error message saying: "SceneTexture expression cannot be used in opaque materials". Is there a way to read in the custom depth?
The question has been closed Feb 29 '16 at 05:53 PM by Stephen Ellis for the following reason:
The question is answered, right answer was accepted
Yes, you can use it in a material. However, SceneTexture is intended only for translucent materials, such as doing post process-like effects through geometry.
answered Feb 29 '16 at 05:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here