Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Itsp there somewhere, but is getting a normal map from height API available

Discussion in 'Editor & General Support' started by Ne0mega, Jun 6, 2023.

  1. Ne0mega


    Feb 18, 2018
    Yiu can do it when importing via editor. You can make a shader do it.

    But is there a way to call the API to create a normal map from height map... ...and mark that texture marked as normal by unity?

    Also, i may misunderstand shaders, but would i be right in assuming doing it in shader is slow, because it would be doing it every frame, (compared to generating the normal map from height map first, then assigning to an exposed property)