three-d 0.19.0

2D/3D renderer - makes it simple to draw stuff across platforms (including web)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
uniform samplerCube texture0;
uniform int isHDR;

in vec3 coords;

layout (location = 0) out vec4 outColor;

void main() {
    outColor = vec4(texture(texture0, coords).rgb, 1.0);
    outColor.rgb = tone_mapping(outColor.rgb);
    outColor.rgb = color_mapping(outColor.rgb);
}