Go to: Attributes.


 This is the dependency node for doing the hardware environment mapping.
 Currently, there are 2 different mapping available: the openGL
 sphereMap and cubeMap. When the attribute cubeMap is true, the environment
 mapping will be cubeMap, otherwise sphereMap.
 The textureFileName attribute provide the name of the file texture(s).
 Cube mapping needs 6 textures, therefore the filename will be expanded
 internally to 6 different names. E.g. when the filename is fname.ext,
 internally will be expanded to: fname.top.ext, fname.bottom.ext,
 fname.front.ext, fname back,ext, fname.left.ext, and fname.right.ext

Node nameParentsMFn typeCompatible function sets
hwReflectionMapdependNodekHardwareReflectionMapkBase
kNamedObject
kDependencyNode
kHardwareReflectionMap

Attributes (10)

cubeBackTextureName, cubeBottomTextureName, cubeFrontTextureName, cubeLeftTextureName, cubeMap, cubeRightTextureName, cubeTopTextureName, decalMode, sphereMapTextureName, textureHasChanged

Long name (short name)TypeDefaultFlags
decalMode (dm) booltrueoutputinputconnectablestorable
Replace the surface color by the reflection color
cubeMap (cm) boolfalseoutputinputconnectablestorable
Activate the cube mapping instead of the default sphereMapping
textureHasChanged (thc) boolfalseoutputinputconnectablestorablehidden
Indicates the file texture name has changed
sphereMapTextureName (smtn) stringNULLoutputinputconnectablestorable
The name of the file texture to use in the sphereMap mode.
cubeFrontTextureName (cftn) stringNULLoutputinputconnectablestorable
The name of the file texture to apply on the front side of the cube.
cubeBackTextureName (cbkn) stringNULLoutputinputconnectablestorable
The name of the file texture to apply on the back side of the cube.
cubeTopTextureName (ctpn) stringNULLoutputinputconnectablestorable
The name of the file texture to apply on the top side of the cube.
cubeBottomTextureName (cbmn) stringNULLoutputinputconnectablestorable
The name of the file texture to apply on the bottom side of the cube.
cubeLeftTextureName (cltn) stringNULLoutputinputconnectablestorable
The name of the file texture to apply on the left side of the cube.
cubeRightTextureName (crtn) stringNULLoutputinputconnectablestorable
The name of the file texture to apply on the right side of the cube.