Oooh... right!
Thank you!
Cheers,
Maxime
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=15724#15724
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/list
Maxime BOUCHER wrote on Friday, July 31, 2009 7:58 AM:
> bthrall wrote:
>>
>> The shader has a sampler2D uniform that needs to be set to the
texture
>> unit you want to use; as long as you attach a different Texture2D to
>> each geode/drawable on that texture unit, the shader will see that
>> geod
Hi,
Thanks for the reply.
bthrall wrote:
>
> The shader has a sampler2D uniform that needs to be set to the texture
> unit you want to use; as long as you attach a different Texture2D to
> each geode/drawable on that texture unit, the shader will see that
> geode/drawable's texture.
Well, t
Maxime BOUCHER wrote on Thursday, July 30, 2009 8:24 AM:
> Hi,
>
> I'm looking for reloading the texture I send to a shader I put on the
top of
> the scene graph. As every geode/drawable (it depends on the model) as
a
> different texture, I'd like to reload the good one for each.
>
> I tried
Hi,
I'm looking for reloading the texture I send to a shader I put on the top of
the scene graph.
As every geode/drawable (it depends on the model) as a different texture, I'd
like to reload the good one for each.
I tried to do so using the geodes' & drawables' update callbacks in the
callb
5 matches
Mail list logo