Skip to content

Commit

Permalink
don't draw to shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Jan 23, 2025
1 parent 7a6d75b commit 2e6269b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public abstract class MixinShaderInstance implements ShaderInstanceInterface {

public boolean iris$shouldSkipThis() {
if (Iris.getIrisConfig().shouldAllowUnknownShaders()) {
if (ShadowRenderer.ACTIVE) return true;

if (!shouldOverrideShaders()) return false;

if (shouldSkip == NONE) return false;
Expand Down Expand Up @@ -158,7 +160,7 @@ private void onTail(CallbackInfo ci) {

if (pipeline instanceof IrisRenderingPipeline) {
if (ShadowRenderer.ACTIVE) {
((IrisRenderingPipeline) pipeline).bindDefaultShadow();
// ((IrisRenderingPipeline) pipeline).bindDefaultShadow(); don't rn
} else {
((IrisRenderingPipeline) pipeline).bindDefault();
}
Expand Down

0 comments on commit 2e6269b

Please sign in to comment.