|
|
Josh VW napsal(a):
> Hi Chris,
> Thanks for the suggestion - it definitely pointed me in the right direction.
> Here's what I ended up doing, in case anyone else has the same problem. I put
> my texture declarations inside a macro which I could call to switch on and off
> transparency. By being inside a macro, they are evaluated at runtime and not
> compile time (in my way of thinking), so I can switch textures on the fly.
> Here's the whole test file:
Actually it's just that macros are only parsed if and anytime it is
used. Pigments are evaluated when the parser meets them (actually you
can define a pigment inside a macro if you know what you are doing)
Post a reply to this message
|
|