projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reworked lighting uniforms
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
vg
/
blit.vs.glsl
diff --git a/shaders/vg/blit.vs.glsl
b/shaders/vg/blit.vs.glsl
new file mode 100644
(file)
index 0000000..
2593725
--- /dev/null
+++ b/
shaders/vg/blit.vs.glsl
@@ -0,0
+1,8
@@
+layout (location=0) in vec2 a_co;
+out vec2 aUv;
+
+void main()
+{
+ gl_Position = vec4(a_co*2.0-1.0,0.0,1.0);
+ aUv = a_co;
+}