Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotating Tiles with normalmaps don't rotate the normals as well. #87157

Closed
LoganMTM opened this issue Jan 13, 2024 · 1 comment · Fixed by #87225
Closed

Rotating Tiles with normalmaps don't rotate the normals as well. #87157

LoganMTM opened this issue Jan 13, 2024 · 1 comment · Fixed by #87225

Comments

@LoganMTM
Copy link

Tested versions

Godot 4.2 stable

System information

Windows 7 and Windows 10

Issue description

Rotating Tiles with normalmaps don't rotate the normals as well.
Tiles and NormalMaps.zip

Steps to reproduce

Make a tile with NormalMaps and do some rotates in the TileMap. Just check with PointLight2D.
Fliping works fine!

Minimal reproduction project (MRP)

Make a tile with NormalMaps and do some rotates in the TileMap. Just check with PointLight2D.
Fliping works fine!

@kleonc
Copy link
Member

kleonc commented Jan 15, 2024

Tile rotations are really just a combination of hflip, vflip and transpose. Meaning if rotations don't work correctly it's because of flipping/transposing not working properly.

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

Successfully merging a pull request may close this issue.

3 participants