Hi all,

I have successfully implemented my own code for bump mapping by creating a 
normal matrix and implementing my own shaders.
Everything works fine except ...
All my scene is attached to an osgShadow node. Before implementing my own 
shaders I was able to swith on and off the shadow.
Now nothing happens any more. 
I tryed to copy some lines from the shader code into my fragment shader but it 
doesn't give the desired effect.
I carefully assigned my base texture to unit 0 and my bump map to unit 2 
because osgShadow uses unit 1.

Where am I going wrong?
In general, how is the handling if several shaders are used along the scene 
hierarchie? Do I kick out former shaders when assigning new ones?

Thanks for any hint.

- Werner -
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to