Hi Rabbi,

Thanks, I see there is only fragment shader, is vertex shader somewhere else?

Vertex processing doesn't differ from fixed pipeline so no vertex shader is needed. If you have a vertex shader make sure you look into the SoftShadowMap.cpp source to make sure your vertex shader replicates those parts of the fixed pipe that it needs. I think texture coordinate generation in eye linear mode for texture unit 1 and maybe something else, it's been a while since I've looked into that code.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to