<div dir="ltr"><div dir="ltr"><div>Hi Nick,</div><div><br></div><div>#Pragmatic shader composition should be working mostly the same in master and the 3.6 branch.  I haven't seen reports of issues.</div><div><br></div><div>In what way doesn't you application work?  What happens if you remove the () around your #ifdef i.e. use<br></div><div><br></div><div>#ifdef MY_DEFINE</div><div>...<br></div></div><div>#endif</div><div><br></div><div>The OSG itself won't have any influence over this particular behavior, it just injects the #define so if the above tweak makes a difference then it'll be down to GLSL compiler in the driver changing it's behavior over time.</div><div><br></div><div>For debugging shaders it can be useful to enable the OSG's debug notification output.  This will include output of the shaders to the console that you can redirect to a file and then review what GLSL code the OSG is sending to the driver.</div><div><br></div><div>Robert.<br></div><div><br></div><div><br></div><div><br></div><br></div>