summaryrefslogtreecommitdiff
path: root/glass.frag
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-04-29 15:43:19 -0700
committerEric Anholt <eric@anholt.net>2009-04-29 15:43:19 -0700
commit2e6103f1836a71850f8db1e78bc49128fff1b212 (patch)
tree131d767e24dd40ad52a02134b89cc9306d2677fe /glass.frag
parentfeb83ec33d4eb4a93fcae419b3ca30dd9865c47d (diff)
Reduce m, giving a prettier specular.
Diffstat (limited to 'glass.frag')
-rw-r--r--glass.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/glass.frag b/glass.frag
index 2365697..7873daf 100644
--- a/glass.frag
+++ b/glass.frag
@@ -36,7 +36,7 @@ void main()
float Ii = 0.9; /*intensity of incoming light */
float Iia = .1 * Ii; /*intensity of ambient light */
- float m = .5;
+ float m = .3;
float cos2_alpha = n_dot_h * n_dot_h;
/* Beckmann distribution function from Torrance, knowing that
* tan a = sqrt(1 - cos^2 a) / cos a