Applying texture to Blender glb yields unwanted texture on some faces

Godot Version

4.6.2

Question

I’ve created a basic coin shape in Blender 5 using a cylinder as a starting point.
Then, I added a base color material (simple color, metallic, etc) to the side faces.
Last, I created a texture material (using a grayscale png) bump map.
I applied the texture/bump to the top and bottom faces of the cylinder (caps) and adjusted my settings. Everything looks fine.

Aside from the fact that the texture on the imported coin looks bad (quite flat),
the real problem is that the texture that I had applied to the top/bottom surfaces is now also around the side of the coin.

This is not the case in Blender - everything is mapped correctly (top and bottom only)

I tried using Geometry > Material Override in Godot, and while it looks better, I still have the same issue that I had in the original import - the texture shows on the side as well as the top/bottom.

How do I get the texture to show in Godot the way it does in Blender?

Here’s two pics that show the issue:

BLENDER (ok):

GODOT (not ok):

FYI - This is how the bump map looks in Blender:

This is how it imports into Godot:

My export settings in Blender (pretty basic)

Hi!

You can’t use a grayscale bump map as normal map, you must convert it (or write your own shader):
https://blenderartists.org/t/how-can-i-convert-bump-map-to-normal-map/1566640

Try it and let’s look if your problem disappears.

edit:
Also make sure you work in blender with the right UV, godot use the first as default.
iimage

OK, this is what I ended up doing:

  1. I used a proper (rgb) Normal map in Blender instead of a Bump map and exported.
  2. In Godot, I imported the glb, then made it Local so I could edit the cylinder surfaces.
  3. I noticed the Blender normal maps looked terrible and saw they were yellow and black, so I replaced them with the regular rgb normal maps on the two available surfaces (the caps)
  4. I continued to edit the Localized version of the coin and was able to create what I wanted. The coin now only has texture/normal map on the two caps and not the sides.

Here’s the new version in Godot (still working on the base color):slight_smile: