-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normal Map not exported - 3DSMax 2018 #288
Comments
Do you have a warning message at exportation time? |
https://www.dropbox.com/s/l0d8auoa8eaxe6e/FBP_HeadOnly_2018.zip?dl=0 You may use this file for testing - iits quit large but an actual WIP model for Production. This file contains a biped and Head + Hair + Textures. In the Message log for the Babylon.JS i cant spot anything about the normal map a all.. the others got exported... write image, create sampler, create image, create texture for BaseColor and metallicRoughness. |
Hi keyoss, The normal map texture provided is a 'Normal bump', not a 'Bitmap' (see issue #289). You should have a warning displayed in the window. Scroll up to see it, before any gltf export. The Normal Bump you are using is quite simple, with all default parameters. Using a simple Bitmap would lead to same result in 3ds Max, isn't it? @deltakosh When facing a 'Normal Bump' type, we can export a simple Bitmap instead, only using the field 'Normal' of the 'Normal Bump'. |
I guess this would be a good first step :-) |
I'm getting a different error with normal maps.
I'm using a Bitmap Node wired into the Bump Map input of a Physical Material. Similar error when using JPG or PNG format for the normal map. It does seem to be rendering the normal map correctly despite the error, at least for a tiled normal map. I haven't tried one baked from high-res geometry, so I don't know if the tangent basis is correctly matched. |
The tangent space for glTF is MikkTSpace if they are not specified (see second implementation note of https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#meshes). BabylonJS does not currently do this properly, but in a lot of cases, it isn't really noticeable. There is an issue to investigate doing this properly. That said, @noalak please correct me if I'm wrong, the exporter does export tangents. So, whatever tangent space you use will be fine since it is specified in the glTF asset. |
Ok thank you both. I will create a new thread with a repro case. |
No problem closing this one then |
Using standard materials in Max:
Diffuse
Specular
Glossiness
Bump - NormalBump - NormalMap.jpg
the Normal Map.jpg will not be exported at all.
Expected Result would be:
I use the "Normal Bump" inside the Bump Slot and select a norrmal map with Tangent space - The Texture should be exported as vaild normal map.
The text was updated successfully, but these errors were encountered: