Hi, I’m trying to make a material that outputs a visual effect that has a blue border. In GLSL I can do this by calculating a dot product between the direction to camera and the surface’s normal, if it is less than 0.2 I choose the border color. I tried to do this using UE4 Material editor, my attempt is attached:
https://answers.unrealengine.com/storage/temp/7922-material.png 2
created
Jun '14last reply
- 3
replies
- 9.1k
views
- 3
users