-> Click the flag to run -> Use the sliders to change the light source's properties. Enabling shadows will lower the resolution to prevent crashes (High resolution screenshots are unaffected by this change) -> Press S to take a high resolution screenshot. Drag the light source around to go back to realtime rendering -> Press M to mute/unmute the music
A simple lighting engine implementation. I've had this idea for a while and now it's finally a reality. This uses the inverse square law to calculate per pixel brightness. Feel free to check out the code if you want to learn how it works! Music: White Bat Audio - Hackers #light #physics #simulation #math #science