<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hi Robert, all,<br><br></div>I finally ported all my shaders to the this new thing. I have a question. Probably simple but will go anyway<br><br></div>in my shader I have something like<br><br></div>#define MYDEFINE<br></div>.. do stuff here ...<br></div>#endif<br><br></div>at the root of the scene I have<br></div>stateSet->setDefine("MYDEFINE");<br><br></div>how can I fornid this define somewhere down the tree ? Simple removing it is not helping (as expected I guess).<br><br></div>Any sample how the defines with Values set works?<br><br></div>Thanks a bunch !<br><br></div>Nick<br clear="all"><div><div><div><div><div><div><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature">trajce nikolov nick<br></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div>