Mar 19, 2012

OpenGL ES (Shader) facts #1

- 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 left-shift and right-shift.