summaryrefslogtreecommitdiff
path: root/resources/quad.frag
diff options
context:
space:
mode:
Diffstat (limited to 'resources/quad.frag')
-rw-r--r--resources/quad.frag6
1 files changed, 1 insertions, 5 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;
}