Attention | Topic was automatically imported from the old Question2Answer platform. | |
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.)
image:
Attention | Topic was automatically imported from the old Question2Answer platform. | |
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.)
image:
Reply From: | Wakatta |
Depends on a few things
Code
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)