Re: [osg-users] TexEnv and BLEND

2008-11-29 Thread Martin Großer
Users Betreff: Re: [osg-users] TexEnv and BLEND Hi Martin, On 29/11/08 8:46 AM, Martin Großer wrote: I used an object of osg::TexEnv and the mode Blend. But I don't know how the texture color and the object color are combined? Mode: add - object color + texture color decal - object

Re: [osg-users] TexEnv and BLEND

2008-11-29 Thread Ulrich Hertlein
Hi Martin, On 29/11/08 10:32 PM, Martin Großer wrote: How can I set the texture environment color? osg::TexEnv::setColor(const osg::Vec4 color); /ulrich ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] TexEnv and BLEND

2008-11-28 Thread Martin Großer
Hello, I used an object of osg::TexEnv and the mode Blend. But I don't know how the texture color and the object color are combined? Mode: add - object color + texture color decal - object color - texture color modulate - object color * texture color blend - object color

Re: [osg-users] TexEnv and BLEND

2008-11-28 Thread Ulrich Hertlein
Hi Martin, On 29/11/08 8:46 AM, Martin Großer wrote: I used an object of osg::TexEnv and the mode Blend. But I don't know how the texture color and the object color are combined? Mode: add - object color + texture color decal - object color - texture color That would be subtract;