OpenGL ES (Shader) tips
19 Mar 2012
- There is no type-casting. Use constructor.
- When declaring float or vec, you must declare its precision, otherwise there would be a compile-time error.
- You cannot multiply float with integer because there is no type-casting.
- There is no bit operation, e.g. left shift.