[osg-users] More lights in scene!

Nickolai Medvedev raizel.dev at yandex.ru
Mon Oct 24 03:37:52 PDT 2016


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








More information about the osg-users mailing list