A Cubemap sampling node to be used within the visual shader graph.
Translated to texture(cubemap, vec3) in the shader language. Returns a color vector and alpha channel as scalar.
SOURCE_TEXTURE = 0Use the Cubemap set via cube_map. If this is set to source, the samplerCube port is ignored.
SOURCE_PORT = 1Use the Cubemap sampler reference passed via the samplerCube port. If this is set to source, the cube_map texture is ignored.
SOURCE_MAX = 2Represents the size of the Source enum.
TYPE_DATA = 0No hints are added to the uniform declaration.
TYPE_COLOR = 1Adds source_color as hint to the uniform declaration for proper conversion from nonlinear sRGB encoding to linear encoding.
TYPE_NORMAL_MAP = 2Adds hint_normal as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.
TYPE_MAX = 3Represents the size of the TextureType enum.