[osg-users] StandardShadowMap and Fog

2015-02-01 Thread Trajce Nikolov NICK
Hi Community, I am seeing in the default fragment shader (snippet bellow) that a fog is used into account but for some reason I can not make it work. Any hints for the Fog settings? Thanks a lot #if FRAGMENT_SHADERS_ONLY _mainFragmentShader = new osg::Shader( osg::Shader::FRAGMENT,

Re: [osg-users] StandardShadowMap and Fog

2015-02-01 Thread Trajce Nikolov NICK
never mind .. blind me.. It is commented out .. Please ignore Nick On Sun, Feb 1, 2015 at 3:21 PM, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi Community, I am seeing in the default fragment shader (snippet bellow) that a fog is used into account but for some reason I can

Re: [osg-users] (no subject)

2015-02-01 Thread Robert Osfield
Hi Phileppe, I presume Qt5.4 is define the various GL values in it's headers as well as the OSG. You could try changing the include order of the Qt and OSG headers to see if that can resolve the issue. I don't have Qt5.4 on my system to test against so I'll have to defer to you to see if you