redspark opened this issue on Apr 18, 2020 ยท 6 posts
redspark posted Sat, 18 April 2020 at 10:02 PM
Hi, I don't know if this is possible but I would like to control the displacement value of an object based on the rendering point within 3D space of the material. So for instance, given a figure's head, this shader would calculate the displacement value for the nose to be smaller than the back of the head.
However, no matter where the figure is positioned in the scene, the displacement will always be proportionately set between two values (perhaps 1 and 2 for the displacement). So again using the face as an example, the nose would be a value of 1 and the back of the skull would be 2. However, if the figure was posed so that the camera was looking down their out stretched arm as they point at the camera, the tip of the finger would be 1 and the back of the skull would be 2. However, the nose would now fall somewhere between 1 and 2 and due to the distance, probably closer to 2.
Is something like this even possible? Thanks.