Closed nickdesaulniers closed 9 years ago
from 06-intro-6:
mat2 m = mat2(1, 2, 3, 4); mat2 w = mat2(7, 8, 9, 10); mat2 q = matrixCompMult(m, w); //q = mat2( 1, 16, // 27, 40)
component wise 1 * 7 == 7; // !1
1 * 7 == 7; // !1
Also from 07-frag-1: "Tthe output from a fragment shader is one or more RGBA color values. "
This was fixed in https://github.com/stackgl/shader-school/commit/63030268ce9fdcd85374d36e107678f4a042f4a9
from 06-intro-6:
component wise
1 * 7 == 7; // !1