How to create textures for Godot 3 with PNG?

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

I created a minecraft clone on Godot 3, but I could not assign textures to the blocks because I have them in PNG format, and in Godot 3 the textures must be in .MATERIAL format, how to convert the textures so that they can be used in Godot? Sorry for my bad English.

:bust_in_silhouette: Reply From: magicalogic

It is very easy. You create a new SpatialMaterial and add the texture to the albedo slot.
Check out this quick guide on how to do that. https://docs.godotengine.org/en/stable/tutorials/3d/spatial_material.html

Дякую! А можна якось змінити матеріал у коді?

roma | 2022-12-27 15:30