17 years, 11 months ago
Highlights
yes array subscript on vectors works as long as i use constants for indexing them. likefloat y = foo[1]orconst int i = 1;float y = foo;but not with i being calculated o…
17 years, 11 months ago
Hey there, is dynamic indexing of vector components in GLSL possible? In HLSL and also in CUDA it is no problem to write something like this: vec3 foo; ... float value = foo wit…
17 years, 11 months ago