Jump to content

If you accidentally assign a non-Normal Map texture to normal map for a layer, it's quite tricky/confusing to fix


neurodr0me
Go to solution Solved by Isaac,

Recommended Posts

Was having some shading issues with a new texture I had just added from SubPaint.

Realized I had forgotten to set the texture type to Normal. Corrected this and the issues persisted. Even if I cleared layers, refreshed layers, the GTS didn't seem to pick up the change. I had to change the layer to another set of textures, clear layers, refresh layers, switch back to the (now corrected) texture set, then clear/refresh again and that seemed to fix it.

Now that I know how to fix the issue, this post isn't quite for me, but for future users. Oftentimes in Unity when you assign a non-normal texture to a normal slot, you get a warning with a "Yes" button you can click to have unity switch the texture to Normal Map for you. This would be very helpful for users. If that popup can't be done, surely some kind of console warning or something somewhere might be possible 🤔

Link to comment
Share on other sites

  • Solution

Hi @neurodr0me,

Thanks for suggestion for a better user experience, we will try and see what can be done about mitigating this potential problem. GTS has a 'Create Texture Arrays' button that should reflect changes to textures if they have been edited since the first creation of the texture array. 

Here is an example using a normal map texture that wasn't set as 'Normal Map' (the lighting is off due to this setting):

image.thumb.png.89ee91a84c23472219dd13b6dc107bab.png

And you can see that the red channel of the texture array hasn't been populated with any data due to this setting: image.thumb.png.4054727ae3ae5c2ea7f43c800d1ab6db.png

Now if we set the normal map to 'Normal map':

image.png.4f1589e1e5d1b542865b985c68ae38ca.png

And go to the GTS Profile, and at the bottom of the list find the Texture Array Settings and hit 'Create Texture Arrays':

image.png.78b6fe969123071916f2974a81cf76aa.png

The normal map has been updated in the texture array and now shades correctly (and the red channel is populated correctly):

image.thumb.png.e2b2f25d6b1033921a9cecb53eb54d98.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...