eternalcodes / EternalJK

Effort to maintain and improve OpenJK
GNU General Public License v2.0
60 stars 23 forks source link

Flares goes under some polygons #121

Open WhiteMagicRaven opened 1 year ago

WhiteMagicRaven commented 1 year ago

This is can be seen in ctf2 map the hoth

Flares comes inside of walls

in ioq3 its get fixed, flares should be always on top of any wall that behind of that effect.

MoritzJT commented 1 year ago

@WhiteMagicRaven this is not something necessarily fixed in renderer - the proper sort key in the flareshader usually takes care of this. From a mappers perspective, taking away shaderset sort for flares is taking away the versatility flares can be utilized for. Fix the assets, not the code. Do you have a specific example? Where on that map?

WhiteMagicRaven commented 1 year ago

shot2023-01-13_22-35-47 shot2023-01-13_22-35-18

WhiteMagicRaven commented 1 year ago

The ioquake3 draws flares correctly. Over all polygons, if something not overlap a center of flare. here is looks like not flare but a some polygon rotating to camera and it can go behind closer polygons