aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/Shaders/BuddhaFragment.glsl
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2018-03-25 12:28:03 +0200
committerAndreas Grois <andi@grois.info>2018-03-25 12:28:03 +0200
commit1b0905fd7367d599b2fd875b1c456005c1e7bb31 (patch)
tree10a29006810a7485e97f16495c352abb8cabb8d2 /BuddhaTest/Shaders/BuddhaFragment.glsl
parentb8082e3ef23758ce0f3a541aecf5a87efe3c1d53 (diff)
parent06c38f755d6aca9a2c43e206f640422c477322bc (diff)
Merge branch 'master' into feature/04-zoomability
Diffstat (limited to 'BuddhaTest/Shaders/BuddhaFragment.glsl')
-rw-r--r--BuddhaTest/Shaders/BuddhaFragment.glsl1
1 files changed, 0 insertions, 1 deletions
diff --git a/BuddhaTest/Shaders/BuddhaFragment.glsl b/BuddhaTest/Shaders/BuddhaFragment.glsl
index 52a0354..ad184e6 100644
--- a/BuddhaTest/Shaders/BuddhaFragment.glsl
+++ b/BuddhaTest/Shaders/BuddhaFragment.glsl
@@ -28,7 +28,6 @@ uvec3 getColorAt(vec2 fragCoord)
void main(){
uvec3 totalCount = getColorAt(uv);
-
vec3 scaled = pow(min(vec3(1.0),colorScale*vec3(totalCount)/max(float(brightness),1.0)),vec3(gamma));
color = scaled;
}