Author Topic: Exported normal map differs from working Normal+Height+Mesh map  (Read 391 times)

Hello. I've noticed 2 bugs.

1. UV Space Neighbor/ 3D Space Neighbor export bug

For example we have following mesh:



UV shells of blue and red parts are separate as shown below



Both parts are filled with diffuse and height maps. Height value of blue one is higher and since UV shells are separate resulting Normal+Height+Mesh map looks completely flat in viewer:



But exported map looks like this:



which results in following picture inside Substance Painter and any 3D viewer if we apply our exported map:




All this was made with UV Padding option in TEXTURE SET SETTINGS set to UV Space Neighbor. Seems like SP sets this parameter to 3D Space Neighbor when exporting because if we look at next picture with this option (not exported map), we'll see similar result:



And looks like it happens to normal map only.

2. Noise bug

Also, when exporting normal map, the noise appears



I've kinda managed to solve this. The format of normal map in TEXTURE SET SETTINGS is RGB16F and if we export files as 16bit tga the result will be clean. But the thing is that it wasn't the problem in earlier versions (at least 2018.1.0 if I'm not mistaken). I've found someone has similar problem but in Substance Designer https://forum.allegorithmic.com/index.php?topic=18248.0 which wasn't solved.
Last Edit: February 08, 2019, 12:42:05 pm

Up
Any ideas?

The exported file looks fine to me. You may not be aware of what the padding is, so I suggest reading this : https://support.allegorithmic.com/documentation/spdoc/padding-134643719.html

Regarding the noise, this is expected if you export to 8bit files. We apply dithering to reduce banding issue (as explained on this page : https://support.allegorithmic.com/documentation/spdoc/export-window-98959396.html ). You can export 16bit png instead if you want it. We may expose a more direct way to disable it in the future but we don't have any ETA for that.
Don't forget your log file. It can be exported from the Help menu of the software.
-----------
Froyok aka Fabrice Piquet, Technical Artist and Product Designer at Allegorithmic.

No, I am aware of what padding is and it's not about padding for sure.
My point is that exported map differs from the map that is displayed in SP viewport, so after exporting you get different result which is very annoying. Try to reproduce this in older version and you'll see - both exported and working versions of normal map will be the same.

To be more exact the problem is that normal border appears which should not in case when height map ends at the edge of a UV-shell. It had always been like this until recent update and it was very handy when you needed sharp edges. And IT IS like that with all the rest maps.

So please, fix it or make some check/uncheck box for switching this option on and off.
Last Edit: February 19, 2019, 09:59:08 am

Still, this may be related to the padding. From what you describes, this sounds like the Texture Set settings that is detailed here (see the section named "Padding setting") : https://support.allegorithmic.com/documentation/spdoc/texture-set-settings-29130771.html
Don't forget your log file. It can be exported from the Help menu of the software.
-----------
Froyok aka Fabrice Piquet, Technical Artist and Product Designer at Allegorithmic.

All this was made with UV Padding option in TEXTURE SET SETTINGS set to UV Space Neighbor. Seems like SP sets this parameter to 3D Space Neighbor when exporting because if we look at next picture with this option (not exported map), we'll see similar result:

Yes, it is. I've already mentioned that in 1st post but repeat: UV Padding option is set to UV Space Neighbor (2D Space Neighbour) and inside substance painter everything looks as expected (edges are sharp and there are no normal border that creates effect of bump, surface is flat) but after export normal map changes like if it was with UV Padding option set to 3D Space Neighbor.

Ha my bad, looks like I misunderstood you.
Could you share the project you are using to test the problem, so that I can try to replicate it on my side ?
Don't forget your log file. It can be exported from the Help menu of the software.
-----------
Froyok aka Fabrice Piquet, Technical Artist and Product Designer at Allegorithmic.

I can't attach spp file. Seems like it's too big (12707 KB), because I get 413 error. Hope my obj will help.

up

I am having this same issue. UV space neighbor makes things look great in Painter viewer, but exported maps are reverted or "overrides" to use 3D space neighbor.

Here's the same problem but with older version.
https://forum.allegorithmic.com/index.php/topic,24431.0.html

up
Any answer?