diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-14 22:56:53 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-14 22:56:53 -0500 |
commit | 67c97f0b784598534f78c74c8ba4258fc275f762 (patch) | |
tree | 5dda70a3e069268840aa9d4633a16a93e5f96317 /libdimension/raytrace.c | |
parent | 2d5af0e0da6b5cb8748e1017f52dbe3e3af97b92 (diff) | |
download | dimension-67c97f0b784598534f78c74c8ba4258fc275f762.tar.xz |
Don't reflect transparent colors.
Diffstat (limited to 'libdimension/raytrace.c')
-rw-r--r-- | libdimension/raytrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c index 513f809..a76a2f5 100644 --- a/libdimension/raytrace.c +++ b/libdimension/raytrace.c @@ -432,6 +432,8 @@ dmnsn_raytrace_reflection(const dmnsn_raytrace_state *state) state, finish, reflection_fn, dmnsn_black, rec, state->pigment, state->reflected, state->intersection->normal ); + reflected.filter = 0.0; + reflected.trans = 0.0; } return reflected; |