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 name | Parents | MFn type | Compatible function sets |
---|---|---|---|
hwReflectionMap | dependNode | kHardwareReflectionMap | kBase kNamedObject kDependencyNode kHardwareReflectionMap |
cubeBackTextureName, cubeBottomTextureName, cubeFrontTextureName, cubeLeftTextureName, cubeMap, cubeRightTextureName, cubeTopTextureName, decalMode, sphereMapTextureName, textureHasChanged
Long name (short name) | Type | Default | Flags | ||
---|---|---|---|---|---|
decalMode
(dm )
| bool | true | |||
cubeMap
(cm )
| bool | false | |||
textureHasChanged
(thc )
| bool | false | |||
sphereMapTextureName
(smtn )
| string | NULL | |||
cubeFrontTextureName
(cftn )
| string | NULL | |||
cubeBackTextureName
(cbkn )
| string | NULL | |||
cubeTopTextureName
(ctpn )
| string | NULL | |||
cubeBottomTextureName
(cbmn )
| string | NULL | |||
cubeLeftTextureName
(cltn )
| string | NULL | |||
cubeRightTextureName
(crtn )
| string | NULL | |||