mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-19 20:09:39 +00:00
Add gbuffer_lightning (#1787)
This commit is contained in:
1 parent
24dae49c7f
commit
2317379df2
9 files changed
+110
-5
No files matched your search
@@ -395,6 +395,7 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
|
||||
null, null, ProgramId.Weather,
|
||||
// world border uses textured_lit even though it has no lightmap :/
|
||||
null, ProgramId.TexturedLit, ProgramId.TexturedLit,
|
||||
ProgramId.Lightning, ProgramId.Lightning, ProgramId.Lightning,
|
||||
ProgramId.ShadowWater, ProgramId.ShadowWater, ProgramId.ShadowWater,
|
||||
ProgramId.Shadow, ProgramId.Shadow, ProgramId.Shadow
|
||||
};
|
||||
@@ -724,6 +725,8 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
|
||||
return RenderCondition.ENTITY_EYES;
|
||||
} else if (special == SpecialCondition.GLINT) {
|
||||
return RenderCondition.GLINT;
|
||||
} else if (special == SpecialCondition.LIGHTNING) {
|
||||
return RenderCondition.LIGHTNING;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user