Make sure it’s valid GLSL. Multiplying with 2 is unlikely to be valid since 2 is an integer constant and vec2s are floats. Try multiplying by 2.0. Some shader compilers are pickier than others.
Make sure it’s valid GLSL. Multiplying with 2 is unlikely to be valid since 2 is an integer constant and vec2s are floats. Try multiplying by 2.0. Some shader compilers are pickier than others.