<<< GLSL operators | Index | GLSL elements of vectors and matrices >>> |
All common vector operators are available:
result = myVec + yourVec; myVec += vec4 (1.0f, 0.5f, 0.4f, 0.2f); myVec *= 3.0f;
<<< GLSL operators | Index | GLSL elements of vectors and matrices >>> |