Re: [osg-users] Is it possible to pass uniform from node's StateSet to the deferred pass fragment shader?

2016-04-01 Thread Sebastian Messerschmidt
Hi Michael, Hi. Currently I have a forward pass fragment shader ( https://github.com/OGStudio/editor/blob/master/pipeline/pass1.frag ) with uniforms "useNormalMap", "useGlowMap" which define if certain draw buffers should be filled with bumps and glows. I provide those uniforms with

[osg-users] Is it possible to pass uniform from node's StateSet to the deferred pass fragment shader?

2016-03-31 Thread michael kapelko
Hi. Currently I have a forward pass fragment shader ( https://github.com/OGStudio/editor/blob/master/pipeline/pass1.frag ) with uniforms "useNormalMap", "useGlowMap" which define if certain draw buffers should be filled with bumps and glows. I provide those uniforms with