Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Material¶
Inherits: Resource < RefCounted < Object
Inherited By: BaseMaterial3D, CanvasItemMaterial, FogMaterial, PanoramaSkyMaterial, ParticleProcessMaterial, PhysicalSkyMaterial, PlaceholderMaterial, ProceduralSkyMaterial, ShaderMaterial
Abstract base class for applying visual properties to an object, such as color and roughness.
Description¶
Material is a base resource used for coloring and shading geometry. All materials inherit from it and almost all VisualInstance3D derived nodes carry a Material. A few flags and parameters are shared between all material types and are configured here.
Tutorials¶
Properties¶
Methods¶
_can_do_next_pass ( ) virtual const |
|
_can_use_render_priority ( ) virtual const |
|
_get_shader_mode ( ) virtual const |
|
_get_shader_rid ( ) |