gamma correction in post when there's no sRGB framebuffer and simple shader compositi...
[vrfileman] / sdr / post.v.glsl
diff --git a/sdr/post.v.glsl b/sdr/post.v.glsl
new file mode 100644 (file)
index 0000000..965fa06
--- /dev/null
@@ -0,0 +1,7 @@
+uniform mat4 texmat;
+
+void main()
+{
+       gl_Position = gl_Vertex;
+       gl_TexCoord[0] = texmat * gl_MultiTexCoord0;
+}