diff options
author | Brian Paul <brianp@vmware.com> | 2009-07-13 08:47:37 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-07-13 08:47:37 -0600 |
commit | 9615daa9324341f6a56932dc46b807f402d18283 (patch) | |
tree | 611f086092443717c44bc31f29bb0f311b0d9d24 /progs/glsl/reflect.vert | |
parent | bb4c70358778f28f644ae493b5d8163e76e9fddb (diff) | |
parent | 680f7d09b00fdec0dbe5e357639d6b445bb9266e (diff) | |
download | external_mesa3d-9615daa9324341f6a56932dc46b807f402d18283.zip external_mesa3d-9615daa9324341f6a56932dc46b807f402d18283.tar.gz external_mesa3d-9615daa9324341f6a56932dc46b807f402d18283.tar.bz2 |
Merge branch 'mesa_7_5_branch'
Diffstat (limited to 'progs/glsl/reflect.vert')
-rw-r--r-- | progs/glsl/reflect.vert | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/progs/glsl/reflect.vert b/progs/glsl/reflect.vert index 402be38..e1f22de 100644 --- a/progs/glsl/reflect.vert +++ b/progs/glsl/reflect.vert @@ -11,6 +11,7 @@ void main() float two_n_dot_u = 2.0 * dot(n, u); vec4 f; f.xyz = u - n * two_n_dot_u; + f.w = 1.0; // outputs normal = n; |