Hello Jean-Sebastien,
I followed your advice. Everything works well. Thanks a lot for
clarifying those things and for your help.
Denis
On Jul 23, 2008, at 4:58 AM, Jean-Sébastien Guay wrote:
Hello Denis,
When I added vertex shader, the object was not shadowed properly
(with the same
Hi Denis,
I followed your advice. Everything works well. Thanks a lot for
clarifying those things and for your help.
Glad I could help,
J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
Hello Denis,
When I added vertex shader, the object was not shadowed properly
(with the same exact fragment shader). I suspect I'm doing something
wrong with the texture coordinates in a vertex shader. I looked in
ShadowMap.cpp, it has only fragment shaders. Do you know where can I
find
Hello Jean-Sebastien,
Check the top of the shader in src/osgShadow/ShadowMap.cpp, there
is a bunch of uniforms with names that start with osgShadow_. You
can use those same variable names in other shaders, and you will
then have access to the same data (as long as the shader is on a
node
4 matches
Mail list logo