TODO: Lighting
This commit is contained in:
parent
5a54e325f2
commit
a644539fd3
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue