Jump to content

"computenormal": for the displaced surface?


guache

Recommended Posts

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

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...