Am 07.02.2018 um 03:23 schrieb Mike Horvath:
> Does `#version 3.7` have to appear at the very top of a scene file? Or
> can I store it as a variable or use it in a condition first? E.g.
>
>
> #declare MyVersion = version;
> #if (something = true)
> #version 3.7
> #else
> #version 3.6
> #end
>
> Thanks.
If you want your scene to automatically adapt to whatever version is
used, it is recommended to use
#version version;
as the first line and continue from there.
Post a reply to this message
|