mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
parent
ac0eb92367
commit
dc0968bf61
2 changed files with 3 additions and 2 deletions
|
@ -637,7 +637,7 @@ void displayrooms(int snum, double smoothratio)
|
|||
renderDrawMasks();
|
||||
}
|
||||
}
|
||||
GLInterface.SetMapFog(false);
|
||||
//GLInterface.SetMapFog(false);
|
||||
restoreinterpolations();
|
||||
|
||||
if (!isRRRA() || !fogactive)
|
||||
|
|
|
@ -240,7 +240,8 @@ void PolymostRenderState::Apply(FRenderState& state, GLState& oldState)
|
|||
state.EnableFog(1);
|
||||
}
|
||||
else state.EnableFog(0);
|
||||
state.SetFog((Flags & RF_MapFog) ? PalEntry(0x999999) : FogColor, 21.f); // Fixme: The real density still needs to be implemented. 21 is a reasonable default only.
|
||||
state.SetFog((GLInterface.useMapFog) ? PalEntry(0x999999) : FogColor, 350.f); // Fixme: The real density still needs to be implemented. 350 is a reasonable default only.
|
||||
|
||||
state.SetSoftLightLevel(ShadeDiv >= 1 / 1000.f ? 255 - Scale(Shade, 255, numshades) : 255);
|
||||
state.SetLightParms(VisFactor, ShadeDiv / (numshades - 2));
|
||||
state.SetTextureMode(TextureMode);
|
||||
|
|
Loading…
Reference in a new issue