VisualShaderNodeCubeMap
A sampling node to be used within the visual shader graph.
enum Source:
- SOURCE_TEXTURE = 0 —- Use the CubeMap set via . If this is set to source, the port is ignored.
- SOURCE_PORT = 1 —- Use the sampler reference passed via the
samplerCube
port. If this is set to source, the texture is ignored.
- TYPE_DATA = 0 —- No hints are added to the uniform declaration.
- TYPE_NORMALMAP = 2 —- Adds as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.
- CubeMap cube_map
The texture to sample when using SOURCE_TEXTURE as .
- Source source
Defines the type of data provided by the source texture. See for options.