Can normal maps be generated from a texture?

前端 未结 4 496
情深已故
情深已故 2021-01-31 23:56

If I have a texture, is it then possible to generate a normal-map for this texture, so it can be used for bump-mapping?

Or how are normal maps usually made?

4条回答
  •  悲哀的现实
    2021-02-01 00:25

    There's probably many ways to generate a Normal map, but like others said, you can do it from a Height Map, and 3d packages like XSI/3dsmax/Blender/any of them can output one for you as an image.

    You can then output and RGB image with the Nvidia plugin for photoshop, an algorithm to convert it or you might be able to output it directly from those 3d packages with 3rd party plugins.

    Be aware that in some case, you might need to invert channels (R, G or B) from the generated normal map.

    Here's some resources link with examples and more complete explanation:

    1. http://developer.nvidia.com/object/photoshop_dds_plugins.html
    2. http://en.wikipedia.org/wiki/Normal_mapping
    3. http://www.vrgeo.org/fileadmin/VRGeo/Bilder/VRGeo_Papers/jgt2002normalmaps.pdf

提交回复
热议问题