mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-19 11:59:40 +00:00
Backports tessellation shader support, safe zone shadow culling, and shader pack rendering directives.
This commit is contained in:
1 parent
c5988d29c3
commit
969d2c3710
29 files changed
+418
-121
No files matched your search
@@ -33,6 +33,10 @@ public class PackDirectives {
|
||||
private boolean vignette;
|
||||
private boolean sun;
|
||||
private boolean moon;
|
||||
private boolean stars;
|
||||
private boolean sky;
|
||||
private boolean weather;
|
||||
private boolean weatherParticles;
|
||||
private boolean rainDepth;
|
||||
private boolean separateAo;
|
||||
private boolean voxelizeLightBlocks;
|
||||
@@ -76,6 +80,10 @@ public class PackDirectives {
|
||||
vignette = properties.getVignette().orElse(false);
|
||||
sun = properties.getSun().orElse(true);
|
||||
moon = properties.getMoon().orElse(true);
|
||||
stars = properties.getStars().orElse(true);
|
||||
sky = properties.getSky().orElse(true);
|
||||
weather = properties.getWeather().orElse(true);
|
||||
weatherParticles = properties.getWeatherParticles().orElse(true);
|
||||
rainDepth = properties.getRainDepth().orElse(false);
|
||||
separateAo = properties.getSeparateAo().orElse(false);
|
||||
voxelizeLightBlocks = properties.getVoxelizeLightBlocks().orElse(false);
|
||||
@@ -129,6 +137,22 @@ public class PackDirectives {
|
||||
return moon;
|
||||
}
|
||||
|
||||
public boolean shouldRenderStars() {
|
||||
return stars;
|
||||
}
|
||||
|
||||
public boolean shouldRenderSkyDisc() {
|
||||
return sky;
|
||||
}
|
||||
|
||||
public boolean shouldRenderWeather() {
|
||||
return weather;
|
||||
}
|
||||
|
||||
public boolean shouldRenderWeatherParticles() {
|
||||
return weatherParticles;
|
||||
}
|
||||
|
||||
public boolean rainDepth() {
|
||||
return rainDepth;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user