Hi, Robert.

If we need diffuse lighting, we need get color of the scene, send him into 
shader as uniform, then, for example, if we need point light, add color with 
radius.


So, question is: how to get our scene color? Need create light shader for each 
light?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69138#69138





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

Reply via email to