HI Nickolai,

On 24 October 2016 at 11:37, Nickolai Medvedev <[email protected]> wrote:
> 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?

I really don't know what exactly you mean.  Are you already using
shaders for lighting?  Using old OpenGL fixed function for lighting?

What you mean by colour of the scene?  The colour of the light source?
 The colour of the surface geometry of objects in the scene?

I really can't provide answers to open ended questions.

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

Reply via email to