Hi guys,

> *From:*[email protected]
> [mailto:[email protected]] *On Behalf Of *Pecoraro, 
> Alexander N
> *Sent:* Thursday, 15 September 2011 7:20 AM
> *To:* OpenSceneGraph Users
> *Subject:* [osg-users] Fixed function pipeline in OSG 3.0.1
>
> In OSG version 3.0.1, if I don’t explicitly attach a shader to my scene graph 
> does it
> fall back on the fixed function pipeline or is a fixed function pipeline 
> equivalent
> shader generated for it?

On 15/09/11 3:42 , Christiansen, Brad wrote:
> If you don’t attach shaders then the fixed function pipeline is used, unless 
> you are not
> using GLES2, in which case I think shaders are generated for you. I have 
> never used this
> path so I am not sure though.

To my knowledge OSG will never automatically generate a shader in any case.  It 
does offer
some help for doing so (osg/ShaderAttribute, osgUtil/ShaderGen) but it's still 
down to the
programmer to make use of them.

(On recent hardware, the OpenGL driver may transform a FF state into a shader 
internally,
because the FF pipeline is no longer present.)

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

Reply via email to