Closed aronkihui closed 10 years ago
We already know, the level is totally bad it is not specific to OSX.
Weather and such are not anywhere similar between the two games in terms of code wise. Thus it looks like this.
@aronkihui You can turn off the detailed shaders as a workaround.
I don't think that affects this.
It removed the bright squares near the water surfaces for me.
mmm... so, this glitch is imposible to fix without turn off detailed shaders yet? what about the cfg file?
It's fixable. We just don't know what causes it yet.
As a quick experiment I patched up tr_WorldEffects.cpp from Jedi Outcast to compile with OpenJK, but it didn't help. The rain looked different, but the glitchy particles were still there. I'd say it's the fog surfacesprite that does this. That would explain why disabling the detail pass helps.
It's a combination I think of quick sprites too.
Kind of surprised that disabling detail even helps cause the weather and quick sprites are rendered manually without the regular drawing code.
The surfaceSprite shader pass is marked as detail, so it gets turned off:
{
clampmap gfx/sprites/fog
surfaceSprites effect 20 8 50 300
ssFademax 1000
ssFadescale 2
ssVariance 2 1
ssWind 4
ssFXDuration 5000
ssFXGrow 2 2
ssFXAlphaRange 0.75 0
ssFXWeather
blendFunc GL_ONE GL_ONE
detail
}
It is OpenJO running on OSX. I didn't find another bug previous this level.