Go to:
Attributes.
TextureEnv is the base node from which all the 3d environment
texture nodes derive. Here you will find all the attributes that
are common to all 3d environment textures.
Environment textures are used as a cheap way to simulate the reflections
you can get using RayTracing. Connect the Out Color attribute of the
Environment texture to the Reflected Color attribute of any specular
shader, such as Phong or Blinn. The shader will then appear to
reflect the environment texture.
In the table below, important attributes have their names shown in
bold in the description column.
This node is abstract
This node is MP safe
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
textureEnv | shadingDependNode | rendernode | | |
Attributes (27)
filterSize, filterSizeX, filterSizeY, filterSizeZ, matrixEyeToWorld, normalCamera, normalCameraX, normalCameraY, normalCameraZ, objectType, outAlpha, outColor, outColorB, outColorG, outColorR, placementMatrix, rayDirection, rayDirectionX, rayDirectionY, rayDirectionZ, uCoord, uvCoord, uvFilterSize, uvFilterSizeX, uvFilterSizeY, vCoord, xPixelAngle
Long name (short name) | Type | Default | Flags |
---|
|
matrixEyeToWorld
(e2w )
| fltMatrix | identity | |
|
|
filterSize
(fs )
| float3 | 0.0, 0.0, 0.0 | |
|
| filterSizeX
(fsx )
| float | 0.0 | | |
|
| filterSizeY
(fsy )
| float | 0.0 | | |
|
| filterSizeZ
(fsz )
| float | 0.0 | | |
|
|
normalCamera
(n )
| float3 | 0.0, 0.0, 1.0 | |
|
| normalCameraX
(nx )
| float | 0.0 | | |
|
| normalCameraY
(ny )
| float | 0.0 | | |
|
| normalCameraZ
(nz )
| float | 0.0 | | |
|
|
objectType
(ot )
| char | TrenderableObjectType::kSurface | |
|
|
outAlpha
(oa )
| float | 0.0 | |
|
|
outColor
(oc )
| float3 | 0.0, 0.0, 0.0 | |
|
| outColorR
(ocr )
| float | 0.0 | | |
|
| outColorG
(ocg )
| float | 0.0 | | |
|
| outColorB
(ocb )
| float | 0.0 | | |
|
|
placementMatrix
(pm )
| fltMatrix | identity | |
|
|
rayDirection
(r )
| float3 | 0.0, 0.0, 1.0 | |
|
| rayDirectionX
(rx )
| float | 0.0 | | |
|
| rayDirectionY
(ry )
| float | 0.0 | | |
|
| rayDirectionZ
(rz )
| float | 0.0 | | |
|
|
uvCoord
(uv )
| float2 | 0.0, 0.0 | |
|
|
|
|
uvFilterSize
(uf )
| float2 | 0.0, 0.0 | |
|
| uvFilterSizeX
(ufx )
| float | 0.0 | | |
|
| uvFilterSizeY
(ufy )
| float | 0.0 | | |
|
|
xPixelAngle
(xpa )
| float | 0.002053 | |
|