how do i access uv maps

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SDGN16

How can I use more than one uv map in godot for a single object I made in blender?
(I am trying to change skin for character.)


:bust_in_silhouette: Reply From: Wakatta

Depends on a few things

  • where your material is
  • If you’re using spatial material
  • if all your textures are properly uv unwrapped


extends Mesh instance

func change_skin(image_path):
    var mat = get_surface_material(0)
    mat.albedo_texture = load(image_path)
    set_surface_material(0, mat)