Hi Jaime,

On 9 May 2014 08:40, Jaime <[email protected]> wrote:
> What are the differences between applying setStateSet in a Node and in a 
> Drawable??
>
> I have a shader (BumpSpecularOpacity). If I set the stateset to a Node, it 
> works correctly. But, if I set to a drawable it doesn't work. The stateset 
> applied is the same.
>
> Any suggestions? Thanks!

In general applying a StateSet to a Node or Drawable should have the
same effect, the only except is the osgText::Text drawable that create
it's own custom behavior to handle the texture atlas that it needs for
it's operation.

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

Reply via email to