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

Sprite-NormalMap.ShaderGraph inverting light #5

Open
joseadvr opened this issue Jul 13, 2018 · 0 comments
Open

Sprite-NormalMap.ShaderGraph inverting light #5

joseadvr opened this issue Jul 13, 2018 · 0 comments

Comments

@joseadvr
Copy link

joseadvr commented Jul 13, 2018

When I use this ShaderGraph and set the GameObject scale.x to -1, the light starts displaying upside down. I duplicated the normal map shader and set the "Two Sided" property to true so that the flipped GameObject could be seen and also added a Flipbook node with the height set to -1 and although the sprites are being affected by the light in the right direction, they aren't displaying properly. Fixing this or giving me a way to do this would mean a lot to my team because our artist has already drawn all the normal maps one by one and the appearance of the game depends on it.

I opened a question in Unity Answers if anyone is interested: https://answers.unity.com/questions/1529041/sprite-normal-map-shadergraph.html

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

No branches or pull requests

1 participant