guache Posted June 28, 2021 Share Posted June 28, 2021 The help for "computenormal" (link below) reads: "However, when the VEX variables are changing with a high frequency (for example, a high frequency displacement map causing high frequency changes to the P variable) ... ". Since this mentions displacement, it suggests that "computenormal" (in a disp. shader) gives the normal to the displaced surface. It sounds too simple: to know this normal, the shader would need to know the partial derivatives of the disp. surface, i.e. for each shaded point, the shader would need to compute or "remember" two other shaded points. Is it really what's happening? https://www.sidefx.com/docs/houdini/vex/functions/computenormal.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.