TODO: Lighting

This commit is contained in:
Eryn Wells 2013-09-08 20:52:57 -07:00
parent 5a54e325f2
commit a644539fd3

View file

@ -167,6 +167,8 @@ scene_trace_ray(Scene *scene, const Ray ray, const int depth)
return out_color;
}
// TODO: Lighting.
Texture *tex = object_get_texture(intersected_obj);
return texture_get_color(tex);
}