Skip to content

Conversation

@DarkShadow44
Copy link

For GTNewHorizons/GT-New-Horizons-Modpack#22648

The issue appears when mixing an opaque slope with a translucent (e.g. stained glass) cladding, or vice versa.
The solution is to only render the part that can be rendered in the current pass. Also see where the values come from:

boolean renderBase = te.baseBlockState != null
&& blockCanRenderInLayer(te.baseBlockState.getBlock(), layer);
boolean renderSecondary = te.secondaryBlockState != null
&& blockCanRenderInLayer(te.secondaryBlockState.getBlock(), layer);
renderShapeTE(te, target, t2, renderBase, renderSecondary);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants