summaryrefslogtreecommitdiff
path: root/resources/shaders/caustics.frag
diff options
context:
space:
mode:
Diffstat (limited to 'resources/shaders/caustics.frag')
-rw-r--r--resources/shaders/caustics.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/shaders/caustics.frag b/resources/shaders/caustics.frag
index f746896..5d2569d 100644
--- a/resources/shaders/caustics.frag
+++ b/resources/shaders/caustics.frag
@@ -14,7 +14,7 @@ void main() {
float oldArea = length(dFdx(vec3(pos[0], pos[2], pos[1]))) * length(dFdy(vec3(pos[0], pos[2], pos[1])));
float newArea = length(dFdx(vec3(newPos[0], newPos[2], newPos[1]))) * length(dFdy(vec3(newPos[0], newPos[2], newPos[1])));
float areaRatio = oldArea / newArea;
- float intensity = pow(areaRatio * .3f, 1.5f);
+ float intensity = pow(areaRatio * 1.f, 1.5f);
fragColor = vec4(0.98, 1, .78, intensity * refractProb);
// fragColor = col;
}