More adventures in #DoomModding today, this time we're shining some light on an old addon that has been revived, stripped down to just the parts that are needed, and brought back up with some new life via the new helper functions I've been tinkering away with over in HDCoreLib.
Given that I've mentioned this flashlight item previously (see above a few posts in this very chain) I won't belabor the refactored particle function, although what is new here is the use of a newly Planck's Law calculation for the color temperatures of the incandescent flashlight and the cool white LED flood light.
Also you may notice the physicality of the light beam itself, that's due to a Damped Spring function easing the position and direction of the light beam, which is different depending on the place that it's mounted, with your shoulders slightly lagging behind your camera without overcorrection, and the helmet being instant since it's attached to your head and thus the camera.
The flood light is still WIP, but is a decoration that can be used to light up an area in front of it, dragged around, or salvaged for its battery if it has one.
#Gaming #RetroGaming #BoomerShooters #Doom #Modding #ModDevelopment #DevLog #ZDoom
