projects
/
vrfileman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
sdr/post.v.glsl
@@ -0,0
+1,7
@@
+uniform mat4 texmat;
+
+void main()
+{
+ gl_Position = gl_Vertex;
+ gl_TexCoord[0] = texmat * gl_MultiTexCoord0;
+}