Hi Michael,
First of all you should search the forum for questions regarding shadow
mapping and custom shaders.
The general answer is:
Write your own vertex and fragment shaders and simply apply the shadow
mapping as in the stock shaders by applying the shadow term to your
lighting.
Look into the source code of the shadow technique, usually there are
in-code shader sources.
hth
Sebastian
__
Hi.
I know OSG has built-in soft shadow mapping, but I'm not sure if it
has normal mapping.
I only know how to implement normal mapping in GLSL, but not how to
combine built-in OSG soft shadow mapping with custom normal mapping
shader.
Please tell me how to do it.
Thanks.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org