Go to: Related nodes. Attributes.
The EnvChrome texture creates a simple by effective
environment to simulate the reflections off chrome surfaces. The
basic environment map consists of a ground plane and a sky with
fluorescent-style light rectangles.
These rectangular lights in the sky are there for visual effect
only, and do not act as light sources in the scene. To use this
texture as an environment map, connect the Out Color attribute to
the Reflected Color attribute of any specular shader, such as Blinn
or Phong. (For chrome you will want to use a Blinn shader, with the
Reflectivity attribute set to 1.0). Aside from the attributes
listed here, EnvChrome inherits additional attributes from TextureEnv. In the table below, important
attributes have their names listed in bold in the
description column.
This node is MP safe
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
envChrome |
textureEnv |
texture/environment |
kEnvChrome |
kBase
kNamedObject
kDependencyNode
kTextureEnv
kEnvChrome |
Related nodes
layeredTexture, envCube, envSphere,
envSky, envBall, 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 (42)
floorAltitude, floorColor, floorColorB, floorColorG, floorColorR, gridColor, gridColorB, gridColorG, gridColorR, gridDepth, gridDepthGain, gridDepthOffset, gridWidth, gridWidthGain, gridWidthOffset, horizonColor, horizonColorB, horizonColorG, horizonColorR, lightColor, lightColorB, lightColorG, lightColorR, lightDepth, lightDepthGain, lightDepthOffset, lightWidth, lightWidthGain, lightWidthOffset, pointCamera, pointCameraX, pointCameraY, pointCameraZ, realFloor, skyColor, skyColorB, skyColorG, skyColorR, zenithColor, zenithColorB, zenithColorG, zenithColorR
Long name (short name) |
Type |
Default |
Flags |
|
pointCamera
(p ) |
float3 |
0.0, 0.0, 0.0 |
|
|
pointCameraX
(px ) |
float |
0.0 |
|
|
|
pointCameraY
(py ) |
float |
0.0 |
|
|
|
pointCameraZ
(pz ) |
float |
0.0 |
|
|
|
skyColor
(sc ) |
float3 |
0.784, 0.784,
1.0 |
|
|
skyColorR
(scr ) |
float |
0.0 |
|
|
|
skyColorG
(scg ) |
float |
0.0 |
|
|
|
skyColorB
(scb ) |
float |
0.0 |
|
|
|
zenithColor
(zc ) |
float3 |
0.392, 0.392,
1.0 |
|
|
zenithColorR
(zcr ) |
float |
0.0 |
|
|
|
zenithColorG
(zcg ) |
float |
0.0 |
|
|
|
zenithColorB
(zcb ) |
float |
0.0 |
|
|
|
lightColor
(lc ) |
float3 |
0.784, 0.784,
1.0 |
|
|
lightColorR
(lcr ) |
float |
0.0 |
|
|
|
lightColorG
(lcg ) |
float |
0.0 |
|
|
|
lightColorB
(lcb ) |
float |
0.0 |
|
|
|
lightWidth
(lw ) |
float |
0.5 |
|
|
lightWidthGain
(lwg ) |
float |
1.0 |
|
|
lightWidthOffset
(lwo ) |
float |
0.0 |
|
|
lightDepth
(ld ) |
float |
0.1 |
|
|
lightDepthGain
(ldg ) |
float |
1.0 |
|
|
lightDepthOffset
(ldo ) |
float |
0.0 |
|
|
realFloor
(rf ) |
bool |
true |
|
|
floorColor
(fc ) |
float3 |
0.588, 0.588,
0.784 |
|
|
floorColorR
(fcr ) |
float |
0.0 |
|
|
|
floorColorG
(fcg ) |
float |
0.0 |
|
|
|
floorColorB
(fcb ) |
float |
0.0 |
|
|
|
floorAltitude
(fa ) |
float |
-1.0 |
|
|
horizonColor
(hc ) |
float3 |
0.0, 0.0, 0.0 |
|
|
horizonColorR
(hcr ) |
float |
0.0 |
|
|
|
horizonColorG
(hcg ) |
float |
0.0 |
|
|
|
horizonColorB
(hcb ) |
float |
0.0 |
|
|
|
gridColor
(gc ) |
float3 |
0.0, 0.0, 0.0 |
|
|
gridColorR
(gcr ) |
float |
0.0 |
|
|
|
gridColorG
(gcg ) |
float |
0.0 |
|
|
|
gridColorB
(gcb ) |
float |
0.0 |
|
|
|
gridWidth
(gw ) |
float |
0.1 |
|
|
gridWidthGain
(gwg ) |
float |
1.0 |
|
|
gridWidthOffset
(gwo ) |
float |
0.0 |
|
|
gridDepth
(gd ) |
float |
0.1 |
|
|
gridDepthGain
(gdg ) |
float |
1.0 |
|
|
gridDepthOffset
(gdo ) |
float |
0.0 |
|