summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/quad.frag6
-rw-r--r--resources/quad.vert2
2 files changed, 2 insertions, 6 deletions
diff --git a/resources/quad.frag b/resources/quad.frag
index 73869cb..a23b7fa 100644
--- a/resources/quad.frag
+++ b/resources/quad.frag
@@ -7,9 +7,5 @@ out vec3 color;
uniform sampler2D textureSampler;
void main() {
- vec3 c = texture(textureSampler, UV).rgb;
- color = vec3(
- c.x / 2 + UV.x / 2,
- c.y / 2 + UV.y / 2,
- c.z);
+ color = texture(textureSampler, UV).rgb;
}
diff --git a/resources/quad.vert b/resources/quad.vert
index 3365748..acf00b2 100644
--- a/resources/quad.vert
+++ b/resources/quad.vert
@@ -11,7 +11,7 @@ void main() {
gl_Position =
MVP *
- vec4( pos.x, 1, pos.y, 1);
+ vec4( pos.x, pos.y, 0, 1);
UV = uv;
//vec4(pos.x, 1.0, pos.y, 1.0);