Inherits: VisualShaderNodeUniform < VisualShaderNode < Resource < Reference < Object
Inherited By: VisualShaderNodeCubeMapUniform, VisualShaderNodeTextureUniformTriplanar
Performs a uniform texture lookup within the visual shader graph.
Performs a lookup operation on the texture provided as a uniform for the shader.
ColorDefault | color_default | 0 |
TextureType | texture_type | 0 |
enum TextureType:
hint_albedo
as hint to the uniform declaration for proper sRGB to linear conversion.hint_normal
as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.hint_aniso
as hint to the uniform declaration to use for a flowmap.enum ColorDefault:
Default | 0 |
Setter | set_color_default(value) |
Getter | get_color_default() |
Sets the default color if no texture is assigned to the uniform.
Default | 0 |
Setter | set_texture_type(value) |
Getter | get_texture_type() |
Defines the type of data provided by the source texture. See TextureType for options.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualshadernodetextureuniform.html