Title: second implementation of Oren Nayar as explained by Wolfgang F. Engel in [...]
second implementation of Oren Nayar as explained by Wolfgang F. Engel in
"Programming Vertex and Pixel Shaders" book. Work exactly the same than
my previous implementation but a little faster... Also found a mistake in the book :)
|
Module |
File name |
Revision |
|
underware |
include/maf/shader.h |
1.12 |
>>> |
1.13 |
|
underware |
include/maf/shader_orennayar.h |
1.4 |
>>> |
1.5 |
|
underware |
src/maf/shader.cpp |
1.19 |
>>> |
1.20 |
|
underware |
src/maf/shader_orennayar.cpp |
1.6 |
>>> |
1.7 |