Dawoodoz / DFPSR

Fast realtime softare rendering library for C++14 using SSE/AVX/NEON. 2D, 3D and isometric rendering with minimal system dependencies.
https://dawoodoz.com/dfpsr.html
78 stars 6 forks source link

Implement real-time volumetric light on the CPU #23

Open Dawoodoz opened 4 years ago

Dawoodoz commented 4 years ago

By extruding convex shapes generated from the shadow casting models, layers of light bounds can be drawn efficiently.

"Deep particles" would be a first step to drawing volumes using the depth buffer, by just fading based on collision with the background. Saturated additive effects would also remove the need for depth sorting.