Enum VisualShaderNodeTexture.SourceEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum VisualShaderNodeTexture.SourceEnum : long
Fields
Depth = 4Use the depth texture captured during the depth prepass. Only available when the depth prepass is used (i.e. in spatial shaders and in the forward_plus or gl_compatibility renderers).
Max = 8Represents the size of the VisualShaderNodeTexture.SourceEnum enum.
Port = 5Use the texture provided in the input port for this function.
Roughness = 7Use the roughness buffer captured during the depth prepass. Only available when the normal-roughness buffer is available (i.e. in spatial shaders and in the forward_plus renderer).
Screen = 1Use the current viewport's texture as the source.
Source2DNormal = 3Use the texture from this shader's normal map built-in.
Source2DTexture = 2Use the texture from this shader's texture built-in (e.g. a texture of a Sprite2D).
Source3DNormal = 6Use the normal buffer captured during the depth prepass. Only available when the normal-roughness buffer is available (i.e. in spatial shaders and in the forward_plus renderer).
Texture = 0Use the texture given as an argument for this function.