Show frames
Go to:
Related nodes. Attributes.
Light Fog nodes are used to fill a spotlit region with the
appearance of fog or mist.
In the table below, important attribute have their names indicated
in bold in the description column.
This node is MP safe
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
lightFog | shadingDependNode | shader/volume/fog | kLightFogMaterial | kBase kNamedObject kDependencyNode kLightFogMaterial |
Related nodes
envFog, lightLinker, lightList
Attributes (40)
color, colorB, colorBasedTransparency, colorG, colorR, density, fastDropOff, filterSize, filterSizeX, filterSizeY, filterSizeZ, lightAmbient, lightBlindData, lightDataArray, lightDiffuse, lightDirection, lightDirectionX, lightDirectionY, lightDirectionZ, lightIntensity, lightIntensityB, lightIntensityG, lightIntensityR, lightShadowFraction, lightSpecular, matteOpacity, matteOpacityMode, outColor, outColorB, outColorG, outColorR, outMatteOpacity, outMatteOpacityB, outMatteOpacityG, outMatteOpacityR, outTransparency, outTransparencyB, outTransparencyG, outTransparencyR, preShadowIntensity
Long name (short name) | Type | Default | Flags |
---|
|
color
(c )
| float3 | 1.0, 1.0, 1.0 |     |
|
|
|
|
|
colorBasedTransparency
(cbt )
| bool | true |     |
|
|
density
(d )
| float | 1.0 |      |
|
|
fastDropOff
(fd )
| bool | false |     |
|
|
filterSize
(fs )
| float3 | 0.0, 0.0, 0.0 |    |
|
| filterSizeX
(fsx )
| float | 0.0 |    | |
|
| filterSizeY
(fsy )
| float | 0.0 |    | |
|
| filterSizeZ
(fsz )
| float | 0.0 |    | |
|
|
lightDataArray
(ltd )
| lightData | NULL |     |
|
| lightDirection
(ld )
| float3 | |    | |
| lightDirectionX
(ldx )
| float | 1.0 |    | |
| | lightDirectionY
(ldy )
| float | 1.0 |    | |
| | lightDirectionZ
(ldz )
| float | 1.0 |    | |
|
|
| lightIntensity
(li )
| float3 | |    | |
| lightIntensityR
(lir )
| float | 1.0 |    | |
| | lightIntensityG
(lig )
| float | 1.0 |    | |
| | lightIntensityB
(lib )
| float | 1.0 |    | |
|
|
| lightAmbient
(la )
| bool | true |    | |
|
| lightDiffuse
(ldf )
| bool | true |    | |
|
| lightSpecular
(ls )
| bool | false |    | |
|
| lightShadowFraction
(lsf )
| float | 0.0 |    | |
|
| preShadowIntensity
(psi )
| float | 0.0 |    | |
|
| lightBlindData
(lbd )
| addr | NULL |    | |
|
|
matteOpacity
(mog )
| float | 1.0 |      |
|
|
matteOpacityMode
(mom )
| enum | 2 |     |
|
|
outColor
(oc )
| float3 | 0.0, 0.0, 0.0 |   |
|
| outColorR
(ocr )
| float | 0.0 |   | |
|
| outColorG
(ocg )
| float | 0.0 |   | |
|
| outColorB
(ocb )
| float | 0.0 |   | |
|
|
outMatteOpacity
(omo )
| float3 | |   |
|
| outMatteOpacityR
(omor )
| float | 0.0 |   | |
|
| outMatteOpacityG
(omog )
| float | 0.0 |   | |
|
| outMatteOpacityB
(omob )
| float | 0.0 |   | |
|
|
outTransparency
(ot )
| float3 | 0.0, 0.0, 0.0 |   |
|
| outTransparencyR
(otr )
| float | 0.0 |   | |
|
| outTransparencyG
(otg )
| float | 0.0 |   | |
|
| outTransparencyB
(otb )
| float | 0.0 |   | |
|