Add Uniforms for End Flashes (#1892)

This commit is contained in:
Eclipse-Sol authored and GitHub committed 2026-07-18 06:42:57 -07:00
1 parent c1403dcf13
commit 10a5b550f2
12 files changed
+161 -14

No files matched your search

@@ -170,6 +170,7 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
private final CloudSetting cloudSetting;
private final boolean shouldRenderUnderwaterOverlay;
private final boolean shouldRenderVignette;
private final boolean supportsEndFlash;
private final boolean shouldRenderSun;
private final boolean shouldRenderMoon;
private final boolean shouldRenderStars;
@@ -231,6 +232,7 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
this.cloudSetting = programs.getPackDirectives().getCloudSetting();
this.shouldRenderUnderwaterOverlay = programs.getPackDirectives().underwaterOverlay();
this.shouldRenderVignette = programs.getPackDirectives().vignette();
this.supportsEndFlash = programs.getPackDirectives().isSupportsEndFlash();
this.shouldRenderSun = programs.getPackDirectives().shouldRenderSun();
this.shouldRenderMoon = programs.getPackDirectives().shouldRenderMoon();
this.shouldRenderStars = programs.getPackDirectives().shouldRenderStars();
@@ -651,6 +653,11 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
return shouldRenderVignette;
}
@Override
public boolean supportsEndFlash() {
return supportsEndFlash;
}
@Override
public boolean shouldRenderSun() {
return shouldRenderSun;