maybe StateAttribute::OVERRIDE|StateAttribute::ON
Yes, I think it's the 3rd person in the last month who assumes OVERRIDE
includes ON... But that wouldn't be flexible enough, because then you
wouldn't be able to override something OFF...
J-S
--
Hi,
I was wondering if there is a way to use a shader to render a VPB created
terrain.
I need to perform some per pixel effects and post processing on the terrain
texture and have full control of the the terrain rendering pipeline.
.
Thank you!
Cheers,
neshume
--
Read this
Hi Neshume,
On Tue, May 18, 2010 at 10:50 PM, Alex Andel nesh...@gmail.com wrote:
I was wondering if there is a way to use a shader to render a VPB created
terrain.
I need to perform some per pixel effects and post processing on the terrain
texture and have full control of the the terrain
Hi,
I have tried that with no success...
pseudo:
node = readNodeFile
stateSet = new StateSet
stateset-setAttribute(_terrainShader,StateAttribute::OVERRIDE);
group = new group
group-addChild(node)
group-setStateSet(stateSet)...
_rootOfScene - addChild(group)
and still the terrain node ...
maybe StateAttribute::OVERRIDE|StateAttribute::ON
-Nick
On Fri, May 21, 2010 at 12:36 AM, Alex Andel nesh...@gmail.com wrote:
Hi,
I have tried that with no success...
pseudo:
node = readNodeFile
stateSet = new StateSet
stateset-setAttribute(_terrainShader,StateAttribute::OVERRIDE);
5 matches
Mail list logo