- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
Open
Description
I'm sorry but the code has multiple bugs, it doesn't match the Oren Nayar formula
- Variable A , is completely wrong calculated, your code even uses variables that are not needed to calculate A.
 - Variables s and t are probably wrong too. I'm not sure about this one, since your formulas can be equivalent... But I don't think so... A prove would be appreciated if I'm wrong.
 
I guess that this is un-maintained code, but the fact that this is the first Google result of "oren nayar glsl" makes me want to warn everyone from using this.
The original Oren-Nayar paper can be found here: http://www1.cs.columbia.edu/CAVE/publications/pdfs/Oren_SIGGRAPH94.pdf
Metadata
Metadata
Assignees
Labels
No labels