Do the defined with #define functions in shaders count towards the overall keyword count ?

Hi

I am working on minimizing shader keywords and i wonder whether the exportable shader defined functions (e.g. #define FUNCTION(x,y) function(z,k) ) count towards the overall keyword count (128 keywords max). In this case will FUNCTION count against the 128 keywords limit ?

Any help is much appreciated

Nasos

No, only cases that use #pragma multi_compile or #pragma shader_feature count against the total.

1 Like

Thanks a lot for the info