locked
Can I creating Normal maps from a Texture? RRS feed

  • Question

  • I Want to create 'normal map' from 'diffuse map'.
    I can't find the way how can create 'normal map'.

    Can I create 'normal map' using Shader?
    Is there any information about this?
    Plesase let me know.


    Wednesday, September 25, 2019 6:54 AM

All replies

  • Hello,

    I think you are in the wrong forum. IMO your question is more related to OpenGL/game developing. You should ask here:

    https://gamedev.stackexchange.com/

    https://community.khronos.org/c/opengl-general/opengl-windows

    Regards, Guido

    Wednesday, September 25, 2019 7:25 AM
  • If using Directx, refer to Directx sample about Normal Map. For example, Directx12 chapter 19, normal map. There is code sample shows how to create it.

    And it's necessary to create normal map using shader.



    This is a signature. Any samples given are not meant to have error checking or show best practices. They are meant to just illustrate a point. I may also give inefficient code or introduce some problems to discourage copy/paste coding. This is because the major point of my posts is to aid in the learning process.

    Wednesday, September 25, 2019 8:33 AM