summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdimension/raytrace.c2
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;