mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Fix fog colour not affecting sky (1.21.3)
This commit is contained in:
1 parent
494695eb9f
commit
a242374fc1
1 file changed
+5
-1
@@ -130,7 +130,11 @@ public abstract class MixinLevelRenderer {
|
||||
ReplayVisuals visuals = editorState.replayVisuals;
|
||||
if (visuals.overrideFogColour) {
|
||||
float[] fogColour = visuals.fogColour;
|
||||
colour = new Vector4f(fogColour[0], fogColour[1], fogColour[2], 1.0F);
|
||||
if (fogMode == FogRenderer.FogMode.FOG_SKY) {
|
||||
colour.set(fogColour[0], fogColour[1], fogColour[2], 1.0F);
|
||||
} else {
|
||||
colour = new Vector4f(fogColour[0], fogColour[1], fogColour[2], 1.0F);
|
||||
}
|
||||
}
|
||||
if (fogMode == FogRenderer.FogMode.FOG_SKY && !visuals.renderSky) {
|
||||
if (Flashback.isExporting() && Flashback.EXPORT_JOB.getSettings().transparent()) {
|
||||
|
||||
Reference in new issue
Block a user