16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 05:49:19 +02:00

GLES support

This commit is contained in:
milek7
2018-10-16 20:32:45 +02:00
parent f8857158ce
commit d16d96f2b2
77 changed files with 5601 additions and 26893 deletions

View File

@@ -1,8 +1,7 @@
#version 330 core
out vec4 FragColor;
in vec2 f_coords;
layout(location = 0) out vec4 out_color;
#texture (tex1, 0, RGB)
uniform sampler2D tex1;
@@ -14,5 +13,5 @@ void main()
vec3 hdr_color = texture(tex1, texcoord).xyz;
vec3 mapped = tonemap(hdr_color);
gl_FragColor = vec4(mapped, 1.0);
out_color = vec4(mapped, 1.0);
}