Go to:
Related nodes. Attributes.
The EnvCube texture creates a cubic texture map for use as
an environment map. The effect is like placing a reflective object
inside a cube with an image on each face. The object will reflect
those images. You can select what images or textures are mapped
onto each face of the Env Cube.
To use this texture as an environment map, connect its Out Color
attribute to the Reflected Color attribute of any specular shader,
such as Blinn or Phong..
Aside from the attributes listed here, EnvCube inherits additional
attributes from TextureEnv.
In the table below, important attributes have their names listed
in bold in the description column.
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
envCube | textureEnv | texture/environment:drawdb/shader/environment/envCube | kEnvCube | kBase kNamedObject kDependencyNode kTextureEnv kEnvCube |
Related nodes
layeredTexture, envSphere, envSky, envBall, envChrome, bump3d, uvChooser, bump2d, texture2d, ramp, file, cloth, water, stencil, checker, fractal, bulge, grid, mountain, texture3d, projection, cloud, granite, crater, leather, stucco, brownian, solidFractal, marble, wood, rock, snow, defaultTextureList, place2dTexture, place3dTexture
Attributes (31)
back, backB, backG, backR, bottom, bottomB, bottomG, bottomR, front, frontB, frontG, frontR, infiniteSize, infoBits, left, leftB, leftG, leftR, lookupType, pointWorld, pointWorldX, pointWorldY, pointWorldZ, right, rightB, rightG, rightR, top, topB, topG, topR
Long name (short name) | Type | Default | Flags |
---|
|
back
(ba )
| float3 | 0.0, 0.0, 0.0 | |
|
|
|
|
|
bottom
(bo )
| float3 | 0.0, 0.0, 0.0 | |
|
|
|
|
|
front
(fr )
| float3 | 0.0, 0.0, 0.0 | |
|
|
|
|
|
infiniteSize
(ie )
| bool | 0 | |
|
|
infoBits
(ib )
| integer | 0 | |
|
|
left
(le )
| float3 | 0.0, 0.0, 0.0 | |
|
|
|
|
|
lookupType
(lt )
| enum | 0 | |
|
|
pointWorld
(pw )
| float3 | | |
|
| pointWorldX
(pwx )
| float | 0.0 | | |
|
| pointWorldY
(pwy )
| float | 0.0 | | |
|
| pointWorldZ
(pwz )
| float | 0.0 | | |
|
|
right
(ri )
| float3 | 0.0, 0.0, 0.0 | |
|
|
|
|
|
top
(to )
| float3 | 0.0, 0.0, 0.0 | |
|
|
|
|