modified the ray tracing demo effector