I’m trying to do something that has been done plenty of times before, but I’m struggling to find examples of what to do.
I have a couple of sine waves that I’m using to generate displacement on some water. I need to calculate the normal of each pixel. Is this possible?
Also, I’m getting this error when the two selected nodes are added. If I break the link the error goes away. Is this some interaction between normals and displacement maps?
You can get the normals by calculating the derivatives of your sine function.
If you have issues figuring these out post a screenshot of your material showing the displacement part and there’s probably somebody willing to help.