diff options
author | Eric Anholt <eric@anholt.net> | 2009-04-29 15:43:19 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-29 15:43:19 -0700 |
commit | 2e6103f1836a71850f8db1e78bc49128fff1b212 (patch) | |
tree | 131d767e24dd40ad52a02134b89cc9306d2677fe /glass.frag | |
parent | feb83ec33d4eb4a93fcae419b3ca30dd9865c47d (diff) |
Reduce m, giving a prettier specular.
Diffstat (limited to 'glass.frag')
-rw-r--r-- | glass.frag | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |