0 votes

Hello. I am trying to make a non-reflective material for my game. However, a sky reflection is visible just like on the screenshot below:

Sky reflection on my mesh

I am using ImmediateGeometry in order to generate a mesh, and it works well (there is no reflection), until I apply a material to it. Then the sky starts being visible in the material, which is unwanted behavior. How do I disable this reflection? I tried disabling Specular on the material with no luck.

I have searched the documentation but I can't find the necessary information.

in Engine by (24 points)

1 Answer

+1 vote
Best answer

As Godot 3 uses physically-based rendering, the Specular property only plays a minor part in a material's reflectiveness. In addition to setting Specular to 0, you'll want to set the Roughness value to 1 and Metallic to 0.

See Spatial Material in the documentation for more information about materials in Godot.

by (11,891 points)
selected by

Thank you! For some reason I didn't think of changing the roughness.

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 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 webmaster@godotengine.org with your username.