OpenJK
OpenJK copied to clipboard
Flares
Implement flares for parity with vanilla renderer.
Could potentially use occlusion queries for this? In frame N, render a square where the flare light would be and then perform a occlusion query. In frame N+2, read back query result and draw a flare if the square was visible.