mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-20 12:29:40 +00:00
Generalize non-terrain block's material ID setting (#1981)
This commit is contained in:
1 parent
6c5eedb7c1
commit
b5dd1c04ce
13 files changed
+514
-40
No files matched your search
@@ -781,7 +781,11 @@ public class DeferredWorldRenderingPipeline implements WorldRenderingPipeline, R
|
||||
}
|
||||
|
||||
public boolean shouldOverrideShaders() {
|
||||
return isRenderingWorld && !isRenderingFullScreenPass && !isPostChain && isMainBound;
|
||||
return isRenderingLevelGeometry() && isMainBound;
|
||||
}
|
||||
|
||||
public boolean isRenderingLevelGeometry() {
|
||||
return isRenderingWorld && !isRenderingFullScreenPass && !isPostChain;
|
||||
}
|
||||
|
||||
public Pass getActivePassProgram() {
|
||||
|
||||
Reference in new issue
Block a user