Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | oinkl |
const float arg = log(0.1);
Expected constant expression after ‘=’
How do I initialise constant expressions in shaders with expressions containing log
, exp
, sin
, etc.?