Hi everyone. I want to make 3D game in GoDot but i missing shader. I never done shaders before and GoDot have serious leak in examples and documentation about shaders. Can someone point me to right place? All i need is to stick texture to 3D model, i have texture prepared. Simple shader to give my model texture and shadows. It can be simple but i don't have knowledge or experience to write own shader besides fact i have no idea how it should look like. Can someone give me example or explain to me how shader script should look like ? Can someone give me some material i can build on(btw. Knowledge is kind of material too)? Thanks -Garrom
How to make simple shader with one texture and one color ?
- Edited
Godot 3 right?
Create a SpatialMaterial and enable basically everything you find interesting in the material. Then step back 1 level in the inspector, right click the SpatialMaterial and select Convert to ShaderMaterial. Should give you a good starting template to learn from.
Honestly though it's best to search for OpenGL ES GLSL tutorials since the godot ShaderLang is basically just a subset. For most/simple materials you shouldn't even need to use custom shaders, just SpatialMaterial should suffice.

- Edited
@Megalomaniak said:
Create a SpatialMaterial and enable basically everything you find interesting in the material. Then step back 1 level in the inspector, right click the SpatialMaterial and select Convert to ShaderMaterial. Should give you a good starting template to learn from.
Honestly though it's best to search for OpenGL ES GLSL tutorials since the godot ShaderLang is basically just a subset. For most/simple materials you shouldn't even need to use custom shaders, just SpatialMaterial should suffice.
Oh, I didn't know abou spatial material. Thank you :)
5 years later
Megalomaniak added the Godot Help tag .