SomaZ / OpenJK

Community effort to maintain and improve Jedi Academy + Jedi Outcast released by Raven Software
GNU General Public License v2.0
11 stars 4 forks source link

Glow textures disappear when using force push/pull #12

Closed DT85 closed 7 years ago

DT85 commented 7 years ago

Test it out on 07yun_gl2. Glow light textures disappear when using force push/pull, but come back after the refraction effect is finished.

I don't know much about this stuff, but could refraction & glow be sorted in a way where only one of them can be rendered at a time?

SomaZ commented 7 years ago

Nah, the "old" code simply overwrites the glow buffer with a pure black one. Refraction rendering is disabled for now, but I will re-add it at some time. First need to get the lighting right, then maybe go for deffered rendering and then adding refraction again. Oh, the rest can be discussed in the other refraction rendering issue.