Hi . there is any node for materials can measure the thickness of objects by their thickness base on camera angle?
Thanks .
Hi . there is any node for materials can measure the thickness of objects by their thickness base on camera angle?
Thanks .
Usually only camera direction vector used for this. So in simple case you can make Dot(SurfaceNormal, CameraDirectionVector).
Probably not. Why do you need to measure its thinkness?
I want to try creat glass material with have some fog effect in it.
http://cienel.net/images/tutorial-images/44/06.jpg