When trying ifdefs in shaders found that these do not work, so the examples for preprocessor use are incorrect.
I found that if preprocessor_defines FOO`` used, one have to use #if FOOnot#ifdef FOO``` or else
syntax errors are reported.
line 1: Expecting a macro name after #ifdef, got: `1'
When trying ifdefs in shaders found that these do not work, so the examples for preprocessor use are incorrect.
I found that if
preprocessor_defines FOO`` used, one have to use#if FOOnot#ifdef FOO``` or elsesyntax errors are reported.