Go to:
Related nodes. Attributes.
The Env Sky texture is an environment map that generates images of a
planetary atmosphere as seen from the surface of a planet.
Sky attributes let you control the composition of the atmosphere and the
cloud layer. If no floor is specified, the environment below the horizon
is a vertical mirror reflection of the environment above the horizon.
If you specify a floor, you can set it to a color or use a texture map.
If a floor is specified and the camera point-of-view drops below that
floor, then the sky will turn red as a warning.
You can use the Env Sky texture as a reflection map, by connecting
its Out Color attribute to the Reflected Color attribute of an specular
shader, such as Blinn or PhongE. You can also use the Env Sky texture
as a background, by connecting it to an image plane. For best results,
scale the sky so it is in proportion to the half-height of the image plane.
Aside from the attributes listed here, Env Sky 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 |
---|
envSky | textureEnv | texture/environment:drawdb/shader/environment/envSky | kEnvSky | kBase kNamedObject kDependencyNode kTextureEnv kEnvSky |
Related nodes
layeredTexture, envCube, envSphere, 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 (53)
The following quick index only shows top-level attributes (too many attributes to show them all): airDensity, altitude, azimuth, blur, cloudBrightness (3), cloudSamples, cloudTexture, density, dustDensity, elevation, floorAltitude, floorColor (3), floorSamples, haloBrightness (3), haloSize, hasFloor, pointCamera (3), power, refPointCamera (3), size, skyBrightness (3), skyRadius, skySamples, skyThickness, sunBrightness (3), sunsetBrightness (3), threshold, totalBrightness, useTexture
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 | | |
|
|
refPointCamera
(rpc )
| float3 | 0.0, 0.0, 0.0 | |
|
| refPointCameraX
(rcx )
| float | 0.0 | | |
|
| refPointCameraY
(rcy )
| float | 0.0 | | |
|
| refPointCameraZ
(rcz )
| float | 0.0 | | |
|
|
totalBrightness
(tb )
| float | 1.0 | |
|
|
sunBrightness
(su )
| float3 | 0.5, 0.5, 0.5 | |
|
| sunBrightnessR
(sur )
| float | 0.0 | | |
|
| sunBrightnessG
(sug )
| float | 0.0 | | |
|
| sunBrightnessB
(sub )
| float | 0.0 | | |
|
|
haloBrightness
(hb )
| float3 | 0.5, 0.5, 0.5 | |
|
| haloBrightnessR
(hbr )
| float | 0.0 | | |
|
| haloBrightnessG
(hbg )
| float | 0.0 | | |
|
| haloBrightnessB
(hbb )
| float | 0.0 | | |
|
|
elevation
(e )
| angle (double) | 45.0deg | |
|
|
azimuth
(az )
| angle (double) | 145.0deg | |
|
|
size
(sz )
| float | 0.531 | |
|
|
blur
(b )
| float | 1.0 | |
|
|
skyBrightness
(sk )
| float3 | 0.5, 0.5, 0.5 | |
|
| skyBrightnessR
(skr )
| float | 0.0 | | |
|
| skyBrightnessG
(skg )
| float | 0.0 | | |
|
| skyBrightnessB
(skb )
| float | 0.0 | | |
|
|
airDensity
(ad )
| float | 1.0 | |
|
|
dustDensity
(dd )
| float | 0.0 | |
|
|
skyThickness
(st )
| float | 1000.0 | |
|
|
skyRadius
(sr )
| float | 50.0 | |
|
|
hasFloor
(hf )
| bool | true | |
|
|
floorColor
(fc )
| float3 | 0.4, 0.4, 0.4 | |
|
| floorColorR
(fcr )
| float | 0.0 | | |
|
| floorColorG
(fcg )
| float | 0.0 | | |
|
| floorColorB
(fcb )
| float | 0.0 | | |
|
|
floorAltitude
(fa )
| float | -10.0 | |
|
|
useTexture
(ut )
| bool | false | |
|
|
cloudTexture
(ct )
| float | 1.0 | |
|
|
cloudBrightness
(cb )
| float3 | 0.5, 0.5, 0.5 | |
|
| cloudBrightnessR
(cbr )
| float | 0.0 | | |
|
| cloudBrightnessG
(cbg )
| float | 0.0 | | |
|
| cloudBrightnessB
(cbb )
| float | 0.0 | | |
|
|
sunsetBrightness
(ss )
| float3 | 1.0, 1.0, 1.0 | |
|
| sunsetBrightnessR
(ssr )
| float | 0.0 | | |
|
| sunsetBrightnessG
(ssg )
| float | 0.0 | | |
|
| sunsetBrightnessB
(ssb )
| float | 0.0 | | |
|
|
density
(d )
| float | 1.0 | |
|
|
threshold
(t )
| float | 0.5 | |
|
|
power
(po )
| float | 1.0 | |
|
|
altitude
(a )
| float | 0.2 | |
|
|
haloSize
(hs )
| float | 20.0 | |
|
|
skySamples
(ssa )
| float | 5.0 | |
|
|
floorSamples
(fsa )
| float | 1.0 | |
|
|
cloudSamples
(csa )
| float | 5.0 | |
|