cityplanners / bones-engine

The Bones Engine, a game engine written in Rust using Vulkan
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Support having multiple light instances #5

Open cpadilla opened 1 year ago

cpadilla commented 1 year ago

This includes separating out ambient and point lights for now.

cpadilla commented 1 year ago

Potentially extract it as a component. The current light object would be an entity with a Light component and a Model component. Need to support having different render pipelines if it's a light source. Will probably need to abstract render pipelines in the future as well. (see #18)