aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/Shaders/BuddhaFragment.glsl
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2018-03-10 21:09:41 +0100
committerAndreas Grois <andi@grois.info>2018-03-10 21:09:41 +0100
commitb8d29915824d85adf0cf2f0035e58598a7e277bd (patch)
tree8647d15d1c8e4bcdd06d6632d2c9124afdf05a92 /BuddhaTest/Shaders/BuddhaFragment.glsl
parent56251ad2d25bfca679561e406b345820fe1dd34b (diff)
Remove useless mirror code in fragment shader. Buffer is already mirrored now.
Diffstat (limited to 'BuddhaTest/Shaders/BuddhaFragment.glsl')
-rw-r--r--BuddhaTest/Shaders/BuddhaFragment.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuddhaTest/Shaders/BuddhaFragment.glsl b/BuddhaTest/Shaders/BuddhaFragment.glsl
index 9ef64b8..1556065 100644
--- a/BuddhaTest/Shaders/BuddhaFragment.glsl
+++ b/BuddhaTest/Shaders/BuddhaFragment.glsl
@@ -21,7 +21,7 @@ uvec3 getColorAt(vec2 fragCoord)
}
void main(){
- uvec3 totalCount = getColorAt(uv) + getColorAt(vec2(uv.x, -uv.y));
+ uvec3 totalCount = getColorAt(uv);
uvec3 brightness = getColorAt(vec2(-0.2390625,0));
vec3 scaled = vec3(totalCount)/max(length(vec3(brightness)),1.0);