Skip to content

Draft: feat: OpenGL Dynamic Lighting

ashi requested to merge ashi/SRB2:glcorona-revival into next

requires !1854 (merged)

This merge request aims to bring dynamic lighting back to SRB2's OpenGL renderer using a much cleaner implementation. The old corona code is unfortunately too messy to be worth trying to revive. As such a new system is being written from scratch.

Old code cleanup:

  • Disable old corona code
  • Remove old deh_soc.c code for corona defs
  • Remove old lighting menu
  • remove hw_lights.h and hw_lights.c completely
  • Remove remaining traces of #ifdef ALAM_LIGHTING code

Reimplementation progress:

  • Basic sprite lights
  • Wall lighting
  • Plane lighting
  • CVars
  • Video Settings menu
  • Lua support
  • SOC support
  • Custom shader support

Possible new additions (I MAKE NO PROMISES ON ANY OF THESE):

  • Software support (I am not knowledgeable enough in software so I'd need help here)
  • Dynamic lighting on models
  • GZDoom gldefs port
Edited by ashi

Merge request reports

Loading