4 lines
134 B
GLSL
4 lines
134 B
GLSL
void fetchSH0(samplerBuffer btex, int probeID, out vec3 _SH) {
|
|
int offset = probeID * 9;
|
|
_SH = texelFetch(btex, offset).rgb;
|
|
} |