Hi, I successfully used ShadowMapViewport to cast shadows, but I have two questions:
I've noticed that texture unit 3 is used to access shadow texture. Is it possible to change the texture unit number? When using shadows combined with my shaders, it runs extremely slow, even if I use simple geometries like spheres. Is it possible that during the first pass of rendering (where depth map from the light point of view is calculated) the shaders are rendered too, even if not they are not needed? Is there a way to disable them, only in the first pass? Best regards, -- Josef Grunig www.blending-life.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
