iWas-Coder / wge

A multithreaded, high performance, fully functional game engine written in pure C, similar in speed to a Wildebeestâ„¢.
https://iwas-coder.github.io/wge
GNU General Public License v3.0
1 stars 1 forks source link

Directional Lighting #49

Open iWas-Coder opened 9 months ago

iWas-Coder commented 9 months ago

Describe the feature

A directional light represents light that falls from a direction on all objects in the scene, like sunlight where all the light rays are parallel. Directional lights therefore have no position. You can adjust the direction of the light, the light and specular intensity levels, and the color as needed.

Why should it be implemented? (optional)

It's a core feature of the engine.

Do you think there is any alternative? (optional)

N/A

Additional context (optional)

N/A

Extra questions (optional)