Skip to content

Fix uv related thing of end portal and gateway#3111

Open
GeForceLegend wants to merge 1 commit into
IrisShaders:26.1from
GeForceLegend:Fix-end-portal-uv
Open

Fix uv related thing of end portal and gateway#3111
GeForceLegend wants to merge 1 commit into
IrisShaders:26.1from
GeForceLegend:Fix-end-portal-uv

Conversation

@GeForceLegend

Copy link
Copy Markdown
Contributor

In common/src/main/java/net/irisshaders/iris/mixin/MixinTheEndPortalRenderer.java#L77-L81, Iris set 4 vertices to exactly same UV, which breaks all uv related thing, including at_tangent and mc_midTexCoord.

This pr restores the behavior before (with order changed as vanilla is using different vertex order comparing to previous Iris versions), letting each face of end portal/gateway get 0.2x size of its texture. This also fixes at_tangent and mc_midTexCoord of ender portal and gateway.

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.

1 participant