Can we change the colour of the object in 3d

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

Suppose I have a sphere,can I change the colour of the sphere in gsel 2?
If yes can you say me how?
Right now all my objects are in black colour and it’s boring

:bust_in_silhouette: Reply From: kidscancode

You can use SpatialMaterial for this. Add the material and set the albedo property.

See here for more information:

Will it work on gsle 2?

Boyyoyo | 2020-11-09 05:44

If you mean GLES 2, then yes.

kidscancode | 2020-11-09 05:50

Ye gles 2.Thanx btw love your videos.

Boyyoyo | 2020-11-09 05:57

Even after adding a spatial material and setting its albedo color to red,the capsule in screen is black

Boyyoyo | 2020-11-09 07:04

Sorry for asking a dumb question: Are the objects black in the Godot Editor, or do they only look black when you run your game? Does your scene have a light with enough range to reach your capsule? :slight_smile:

AndyCampbell | 2020-11-12 00:22