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

[unity] Universal Render Pipeline/2D/Spine/Sprite flipped-x sprite with normal-map is lit backwards on x-axis #1597

Closed
Jamez0r opened this issue Jan 13, 2020 · 1 comment
Assignees
Labels

Comments

@Jamez0r
Copy link

Jamez0r commented Jan 13, 2020

Skeleton Animation now keeps normal-map when flipped on x-axis (either through "Initial Flip X" or by ScaleX = -1), but the resulted lighting is backwards on the x-axis.

Screenshot of issue

Repro Project

Forum Post

Thanks!

@HaraldCsaszar HaraldCsaszar self-assigned this Jan 13, 2020
@HaraldCsaszar
Copy link
Collaborator

Thanks for reporting!

The screenshot posted in the description shows that in your configuration has Solve Tangents disabled, which will lead to incorrect normalmap orientation during animation, as well as when flipped.
Please enable Solve Tangents at SkeletonRenderer components when using normalmaps.

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

No branches or pull requests

2 participants