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...
VisualShaderNodeCubemap¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
A Cubemap sampling node to be used within the visual shader graph.
Description¶
Translated to texture(cubemap, vec3)
in the shader language. Returns a color vector and alpha channel as scalar.
Properties¶
|
||
|
Enumerations¶
enum Source:
Source SOURCE_TEXTURE = 0
Use the Cubemap set via cube_map. If this is set to source, the samplerCube
port is ignored.
Source SOURCE_PORT = 1
Use the Cubemap sampler reference passed via the samplerCube
port. If this is set to source, the cube_map texture is ignored.
Source SOURCE_MAX = 2
Represents the size of the Source enum.
enum TextureType:
TextureType TYPE_DATA =