Jump to content

OrenNayar Shader I needHelp Plz


Saber

Recommended Posts

Hi friend

i was trying to implement my own orennayar based on Siggraph paper.

i have found the shader example on the internet are not the most accurate once their are just a light version or a light approximation of the Orennayar.

http://rapidshare.com/files/114784289/orennayar.pdf.html

here i have uploaded the siggraph paper.

and in the paper their is Three approximation .

i was able to simulate the last and the second one (one is the pixar Clay) and one is a differenta approx model .

i was getting some trouble implementing the advance model .

The equation that i'm trying to implement start from page 10 and u can read all the doc it's real interesting.

my problem was to get right the angle of the microfacet and their normal .

wich is Theta_A and Phi_A i was unable to find how to implement this.

so any help i appreciate alot .

the rest of the code is clear my confusion is just how to find the right Theta_A angle.

thx for any help in Advance.

Link to comment
Share on other sites

thx friend but this is not the some version that i'm trying to implement.

their is 3 approximation on the orennayar one is more accurate then the other.

and i'm working to implement the more accurate one.

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...