0 votes

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

in Engine by (14 points)

1 Answer

0 votes

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

See here for more information:
https://docs.godotengine.org/en/stable/tutorials/3d/spatial_material.html

by (21,920 points)

Will it work on gsle 2?

If you mean GLES 2, then yes.

Ye gles 2.Thanx btw love your videos.

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

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? :-)

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.