Skip to main content
vaughmj1
Participant
aug. 11, 2022 4:42 AM UTC
Svar

How to export both OpenGL and DirectX normal maps in Painter without going to project settings?

As title, I would like to export OpenGL normal maps without having to change it through project settings, so painter stays in directx but exports as OpenGL. I tried playing around with custom export settings but it didn't work. Is this possible?

Dette emne er blevet lukket for svar.
davescm
Community Expert
nov. 28, 2023 3:24 PM UTC

It is possible but with a caveat

If you export Converted Normal maps you can build an export template to export both Normal DirectX and Normal OpenGL. But those converted maps also contain the height information. So if you need both normal and height separate on export, then you would need to export twice OR convert the exported normal map after export by inverting the green channel (as stated by Zhenia33847939ajat above).

 

Dave

2 kommentarer

davescm
Community Expert
Community Expert
nov. 28, 2023 3:24 PM UTC

It is possible but with a caveat

If you export Converted Normal maps you can build an export template to export both Normal DirectX and Normal OpenGL. But those converted maps also contain the height information. So if you need both normal and height separate on export, then you would need to export twice OR convert the exported normal map after export by inverting the green channel (as stated by Zhenia33847939ajat above).

 

Dave

Oversæt
Participant
nov. 28, 2023 11:38 AM UTC

The difference between DirectX and OpenGL normal maps is just the green channel. If you invert it in a DirectX map, you get an OpenGL map.

Oversæt