Inherits: VisualShaderNode < Resource < Reference < Object
Performs a texture lookup within the visual shader graph.
Performs a lookup operation on the provided texture, with support for multiple texture sources to choose from.
Source | source | 0 |
Texture | texture | |
TextureType | texture_type | 0 |
enum Source:
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.Default | 0 |
Setter | set_source(value) |
Getter | get_source() |
Determines the source for the lookup. See Source for options.
Setter | set_texture(value) |
Getter | get_texture() |
The source texture, if needed for the selected source.
Default | 0 |
Setter | set_texture_type(value) |
Getter | get_texture_type() |
Specifies the type of the texture if source is set to 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_visualshadernodetexture.html