Files
orx/orx-dnk3/src/main/resources/phrases/irradiance-sh/fetch-sh0.frag

4 lines
134 B
GLSL

void fetchSH0(samplerBuffer btex, int probeID, out vec3 _SH) {
int offset = probeID * 9;
_SH = texelFetch(btex, offset).rgb;
}