Search Unity

Switching from DirectX to OpenGL after scene is made - turns normal maps pink?

Discussion in 'Editor & General Support' started by ridethefader, Jun 27, 2019.

  1. ridethefader

    ridethefader

    Joined:
    Jun 17, 2019
    Posts:
    44
    I built a level in DirectX, but turns out I need it to be in OpenGL. All my assets were baked with DirectX normal maps. When I changed from DirectX to OpenGL in Project Settings>Player>Other Settings, I set it to OpenGLES3. The editor asked to restart. When it restarted my assets that had DirectX normal maps on them, still looked normal. Then I noticed my normal maps in the Inspector were showing up pink. Is the engine flipping these normal maps so they display correctly so I dont have to re-export all my normal maps in OpenGL from Painter/Designer? Is this whats happening? The pink normal maps are displaying as DXTnm and I'm not sure what that means or whats happening.

    The scene looks correct. Im not sure if I need to do anything else, or if i should re-export my normal maps as OpenGL?