varying vec3 v_cubeMapCoordinates;
uniform samplerCube cubeMap;

void main()
{
    vec4 rgbm = textureCube(cubeMap, v_cubeMapCoordinates);
    float m = rgbm.a * 49.0;
    vec3 r = rgbm.rgb * m;
    gl_FragColor = vec4(r, 1.0);
}

varying vec3 v_cubeMapCoordinates;
uniform samplerCube cubeMap;

void main()
{
    vec4 rgbm = textureCube(cubeMap, v_cubeMapCoordinates);
    float m = rgbm.a * 16.0;
    vec3 r = rgbm.rgb * m;
    gl_FragColor = vec4(r * r, 1.0);
}

Fix decoding for RGBM textures which is different for the tool used than the paper.
Fix decoding for RGBM textures which is different for the tool used than the paper.
