i had an if condition which works,
if (_Mode <= 3.0)
{
and if i do
if (_Mode == 3.0 || _Mode == 4.0)
{
the shader compiles but doesnt execute the if condition, it only runs the rest of the code.
↧