mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-19 20:09:39 +00:00
Instance more things (#2104)
* Flyby: pin the start origin and fly just above the route's terrain * Instancing: particles, dropped items, entity cubes + shadow batching and some SDL-GPU fixes
This commit is contained in:
1 parent
94ee37bfed
commit
3876f7e693
158 files changed
+9956
-1404
No files matched your search
@@ -329,12 +329,20 @@ public class GbufferPrograms {
|
||||
|
||||
public static void setupSpecialRenderCondition(SpecialCondition override) {
|
||||
currentSpecial = override;
|
||||
Iris.getPipelineManager().getPipeline().ifPresent(p -> p.setSpecialCondition(override));
|
||||
final WorldRenderingPipeline pipeline = Iris.getPipelineManager().getPipelineNullable();
|
||||
|
||||
if (pipeline != null) {
|
||||
pipeline.setSpecialCondition(override);
|
||||
}
|
||||
}
|
||||
|
||||
public static void teardownSpecialRenderCondition() {
|
||||
currentSpecial = null;
|
||||
Iris.getPipelineManager().getPipeline().ifPresent(p -> p.setSpecialCondition(null));
|
||||
final WorldRenderingPipeline pipeline = Iris.getPipelineManager().getPipelineNullable();
|
||||
|
||||
if (pipeline != null) {
|
||||
pipeline.setSpecialCondition(null);
|
||||
}
|
||||
}
|
||||
|
||||
public static void runPhaseChangeNotifier() {
|
||||
|
||||
Reference in new issue
Block a user