PanosK92 / SpartanEngine

A game engine with an emphasis on real-time cutting-edge solutions
https://panoskarabelas.com
MIT License
2.24k stars 189 forks source link

Create Volume Component #147

Open PanosK92 opened 6 months ago

PanosK92 commented 6 months ago

Develop a volume component that allows users to define 3D regions within the game world to apply various environmental and artistic effects such as ambient light, fog, and other visual properties. The volume should support different shapes (e.g., boxes, spheres) and provide intuitive controls for positioning and scaling.

The volume should allow the user to control a lerp factor so that it blends with the global environment properties nicely.