mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-26 07:03:02 +00:00
Add Uniforms for End Flashes (#1892)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user