mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-24 22:24:27 +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
@@ -368,6 +368,7 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
|
||||
null, ProgramId.Clouds, ProgramId.Clouds,
|
||||
null, ProgramId.DamagedBlock, ProgramId.DamagedBlock,
|
||||
ProgramId.Block, ProgramId.Block, ProgramId.Block,
|
||||
ProgramId.BlockTrans, ProgramId.BlockTrans, ProgramId.BlockTrans,
|
||||
ProgramId.BeaconBeam, ProgramId.BeaconBeam, ProgramId.BeaconBeam,
|
||||
ProgramId.Entities, ProgramId.Entities, ProgramId.Entities,
|
||||
ProgramId.EntitiesTrans, ProgramId.EntitiesTrans, ProgramId.EntitiesTrans,
|
||||
@@ -720,6 +721,10 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
|
||||
return RenderCondition.ENTITIES;
|
||||
}
|
||||
case BLOCK_ENTITIES:
|
||||
if (GLStateManager.getBlendState().getSrcRgb() == SRC_ALPHA &&
|
||||
GLStateManager.getBlendState().getDstRgb() == ONE_MINUS_SRC_ALPHA) {
|
||||
return RenderCondition.BLOCK_ENTITIES_TRANSLUCENT;
|
||||
}
|
||||
return RenderCondition.BLOCK_ENTITIES;
|
||||
case DESTROY:
|
||||
return RenderCondition.DESTROY;
|
||||
|
||||
Reference in new issue
Block a user