HR2 - lighting test build (Patreon)
Content
>>> DO NOT GET THIS BUILD IF YOU ARE USING SIMPLE GRAPHICS. SIMPLE GRAPHICS DOES NOT WORK <<<
Download HERE.
This is a testing build for players wanting to help test the new lighting system. I added 3 new WIP stages making use of the new features outlined in the previous post.
Recommended to start with the old rooftop stage, and everything should look mostly the same:
Then try the Education Room map. This features a couple of lights plus a shadowed volumetric light from outside of window for a nice light shaft effect into the blackboard.
Up next is the Park stage with rays shinning through the canopy for an atmospheric scene at night.
Finally try out the Neon Club stage with the most amount of light sources for the futuristic, high-end look.
If everything works, feel free to continue playing this patch. It contains a few bugfixes that may be applicable. Otherwise, please report any graphic problems encountered, preferably with at least a screenshot too.
Changelog:
>>> DO NOT GET THIS BUILD IF YOU ARE USING SIMPLE GRAPHICS. SIMPLE GRAPHICS DOES NOT WORK <<<
Fixed bug where returning from a sub menu (such as Dresser) to main menu while there is an event pending cause both the menu and dialogue to incorrectly trigger
Fixed BGM calls incorrectly restarting the BGM
Fixed a save file corruption issue when repeatly saving/loading without restarting the game
Fixed displayed recruit cost is mismatched with actual recruit cost
Fixed dropped restraints not cleared on stage end
Fixed a specific fast floating calc precision issue that can cause graphic glitches
Added graphics toggle option for volumetric lighting
Added graphics toggle option for shadows
Modding:
Added "Add" -> "Light" option
Added selected light object lighting editing
Added outliner scene lighting editing
Added "duplicate" object option when right-clicking object in map editor outliner
Editor unique name/id generator will now try to increment the number first if possible. Example: "obj (3)" -> "obj (4)" instead of "obj (3) (2)"
Internal:
Added light clustering optimization to handle many lights
Added multiple shadowed lights per scene (up to 4 per scene)
Added volumetric light shading
Added per stage skybox on/off settings
Added per stage distance fog settings
Added per stage ambient lighting setting
Added per light light distance attenuation settings
Added per light spotlight angle limit settings
Added per light volumetric strength settings
Added per shadowed light shadow settings
Added per shadowed light perspective shadow-projection settings (limit of 150 degrees)