SiebenCorgie / ori-engine

A small engine written in rust + vulkan.
Other
7 stars 1 forks source link

Integrade the lights to in the shaders #5

Closed SiebenCorgie closed 7 years ago

SiebenCorgie commented 7 years ago

I'll have to plan a nice way to send (for now all) lights to the shaders. At first this might be handled via a 4th descriptor set which holds an array per light type. In future, when the pre-rendering light-culling test is done on the graphics card this will have to change a bit.