mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-16 10:45:09 +00:00
Maybe fix botania mana pool rendering
This commit is contained in:
1 parent
53996500d7
commit
a483669579
4 files changed
+15
-1
No files matched your search
@@ -43,6 +43,7 @@ public class ProgramSet {
|
||||
private final ProgramSource gbuffersGlint;
|
||||
private final ProgramSource gbuffersEntityEyes;
|
||||
private final ProgramSource gbuffersBlock;
|
||||
private final ProgramSource gbuffersBlockTrans;
|
||||
private final ProgramSource gbuffersHand;
|
||||
|
||||
private final ProgramSource[] deferred;
|
||||
@@ -116,6 +117,7 @@ public class ProgramSet {
|
||||
this.gbuffersGlint = readProgramSource(directory, sourceProvider, "gbuffers_armor_glint", this, shaderProperties);
|
||||
this.gbuffersEntityEyes = readProgramSource(directory, sourceProvider, "gbuffers_spidereyes", this, shaderProperties);
|
||||
this.gbuffersBlock = readProgramSource(directory, sourceProvider, "gbuffers_block", this, shaderProperties);
|
||||
this.gbuffersBlockTrans = readProgramSource(directory, sourceProvider, "gbuffers_block_translucent", this, shaderProperties);
|
||||
this.gbuffersHand = readProgramSource(directory, sourceProvider, "gbuffers_hand", this, shaderProperties);
|
||||
|
||||
this.deferred = readProgramArray(directory, sourceProvider, "deferred", shaderProperties);
|
||||
@@ -216,7 +218,7 @@ public class ProgramSet {
|
||||
programs.addAll (Arrays.asList(
|
||||
gbuffersBasic, gbuffersBeaconBeam, gbuffersTextured, gbuffersTexturedLit, gbuffersTerrain,
|
||||
gbuffersDamagedBlock, gbuffersSkyBasic, gbuffersSkyTextured, gbuffersClouds, gbuffersWeather,
|
||||
gbuffersEntities, gbuffersEntitiesTrans, gbuffersEntitiesGlowing, gbuffersGlint, gbuffersEntityEyes, gbuffersBlock,
|
||||
gbuffersEntities, gbuffersEntitiesTrans, gbuffersEntitiesGlowing, gbuffersGlint, gbuffersEntityEyes, gbuffersBlock, gbuffersBlockTrans,
|
||||
gbuffersHand
|
||||
));
|
||||
|
||||
@@ -377,6 +379,10 @@ public class ProgramSet {
|
||||
return gbuffersBlock.requireValid();
|
||||
}
|
||||
|
||||
public Optional<ProgramSource> getGbuffersBlockTrans() {
|
||||
return gbuffersBlockTrans.requireValid();
|
||||
}
|
||||
|
||||
public Optional<ProgramSource> getGbuffersHand() {
|
||||
return gbuffersHand.requireValid();
|
||||
}
|
||||
@@ -394,6 +400,7 @@ public class ProgramSet {
|
||||
case Terrain -> getGbuffersTerrain();
|
||||
case DamagedBlock -> getGbuffersDamagedBlock();
|
||||
case Block -> getGbuffersBlock();
|
||||
case BlockTrans -> getGbuffersBlockTrans();
|
||||
case BeaconBeam -> getGbuffersBeaconBeam();
|
||||
case Entities -> getGbuffersEntities();
|
||||
case EntitiesTrans -> getGbuffersEntitiesTrans();
|
||||
|
||||
Reference in new issue
Block a user