A [CubeMap] sampling node to be used within the visual shader graph.
Translated to [code]texture(cubemap, vec3)[/code] in the shader language. Returns a color vector and alpha channel as scalar.
The [CubeMap] texture to sample when using [constant SOURCE_TEXTURE] as [member source].
Defines which source should be used for the sampling. See [enum Source] for options.
Defines the type of data provided by the source texture. See [enum TextureType] for options.
Use the [CubeMap] set via [member cube_map]. If this is set to [member source], the [code]samplerCube[/code] port is ignored.
Use the [CubeMap] sampler reference passed via the [code]samplerCube[/code] port. If this is set to [member source], the [member cube_map] texture is ignored.
No hints are added to the uniform declaration.
Adds [code]hint_albedo[/code] as hint to the uniform declaration for proper sRGB to linear conversion.
Adds [code]hint_normal[/code] as hint to the uniform declaration, which internally converts the texture for proper usage as normal map.