emartinez-dev / miniRT

This project is an introduction to the beautiful world of Raytracing. Once completed you will be able to render simple Computer-Generated-Images and you will never be afraid of implementing mathematical formulas again.
The Unlicense
2 stars 0 forks source link

Implement Ambient Lighting #2

Closed emartinez-dev closed 11 months ago

emartinez-dev commented 1 year ago

Add support for ambient lighting in the ray tracer to provide a base level of illumination to the scene.

Ambient Lighting (A): A <ratio> <R,G,B colors>

emartinez-dev commented 1 year ago

This is already implemented but as the ambient light can have RGB color, I have to change how it works