Skip to content

Fix mirroring once and for all - #32

Merged
Dragorn421 merged 1 commit into
Fast-64:mainfrom
CDi-Fails:mirror_fix_2
Sep 2, 2026
Merged

Fix mirroring once and for all#32
Dragorn421 merged 1 commit into
Fast-64:mainfrom
CDi-Fails:mirror_fix_2

Conversation

@CDi-Fails

Copy link
Copy Markdown

Previous "fix" introduced some inaccuracies. This fixes those and achieves 1:1 visual parity with N64 and EEVEE for mirrored and shifted textures (I think, please try it out)

@Dragorn421 Dragorn421 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EEVEE: (matches in-game, tested in oot on ares)
image

f64render main
image

This PR:
image

Test blend:
uvtest2.zip

@Dragorn421

Copy link
Copy Markdown

PR fixes things indeed

also matches visually with s, t shift == 1

import bpy

for mat in bpy.data.materials:
    mat.f3d_mat.tex0.autoprop = False
    mat.f3d_mat.tex0.S.shift = 1
    mat.f3d_mat.tex0.T.shift = 1

(may need rebuild materials for eevee to see changes)

@Dragorn421
Dragorn421 merged commit fc55820 into Fast-64:main Sep 2, 2026
1 check passed
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