KhronosGroup / glTF

glTF – Runtime 3D Asset Delivery
Other
7.21k stars 1.14k forks source link

Please add material extension for Bump Map #2123

Open butaixianran opened 2 years ago

butaixianran commented 2 years ago

I know there is already a normal map. But let's face a true, a lot of 3D resources and 3D tools just like bump maps more.

glTF is not just for webGL, it is a perfect replacement of fbx for this PBR generation, for All 3D tools.

In that case, support bump map is a good choice.

For now, when exporting 3D model with Bump map from 3D tools, they won't convert bump map into normal map for users, they just put bump map into the Nomal map node.

And I believe they'll never do this converting thing for users

So, the best choice is supporting bump map as an extension of material.

Then all those 3D resources with bump maps can be converted into glTF nicely.

donmccurdy commented 2 years ago

Some previous discussion of bump maps in https://github.com/KhronosGroup/glTF/issues/948 (I realize the title is about displacement maps, but scroll down a bit).