Show frames
Go to:
Related nodes. Attributes.
Optical FX nodes are used to add glowing effects to
a light source in the scene. These effects simulate the
sorts of light effects that happen on camera lenses; radial
"star" arms, light halos, and lens flares. Since the effect
is happening on the camera lens, the size of the effect does
not change based on the distance of the light from the camera.
These Optical FX are added during post-processing, that is,
after the main rendering is completed.
Normally, an Optical FX node is created automatically by the
system when you click on the Light Glow mapping button, which
is found under the Light Effects tab in the Attribute Editor
of any light shape. We recommend this method of creation, since
all the connections are made for you. The system also creates
a sphere, attached to the Optical FX. The optical FX determines
its Glow Visibility based on how much of the sphere is visible.
(The sphere itself is not rendered).
If you create an Optical FX node yourself, you will have to
connect it to a light to make it work properly. Here are the
connections you need to make:
Optical FX LightShape
---------- ----------
Light Connection ------> Light Glow
Light Color <------ Color
Light World Mat <------ World Matrix
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 |
---|
opticalFX | node | auxiliary/light:postprocess/opticalFX | kOpticalFX | kBase kNamedObject kDependencyNode kOpticalFX |
Related nodes
materialInfo, multilisterLight, defaultLightList, shaderGlow
Attributes (65)
The following quick index only shows top-level attributes (too many attributes to show them all): active, flareColSpread, flareColor (3), flareFocus, flareHorizontal, flareIntensity, flareLength, flareMaxSize, flareMinSize, flareNumCircles, flareVertical, fogColor (3), fogIntensity, fogNoise, fogOpacity, fogRadialNoise, fogSpread, fogStarlevel, fogType, glowColor (3), glowIntensity, glowNoise, glowOpacity, glowRadialNoise, glowSpread, glowStarLevel, glowType, glowVisibility, haloColor (3), haloIntensity, haloSpread, haloType, hexagonFlare, ignoreLight, lensFlare, lightColor (3), lightConnection, lightWorldMat, noiseThreshold, noiseUoffset, noiseUscale, noiseVoffset, noiseVscale, radialFrequency, rotation, starPoints, visibility (3)
Long name (short name) | Type | Default | Flags |
---|
|
active
(act )
| bool | true |     |
|
|
flareColSpread
(lc )
| float | 0.5 |     |
|
|
flareColor
(rc )
| float3 | 1.0, 1.0, 1.0 |     |
|
| flareColorR
(rr )
| float | 0.0 |      | |
|
| flareColorG
(rg )
| float | 0.0 |      | |
|
| flareColorB
(rb )
| float | 0.0 |      | |
|
|
flareFocus
(ff )
| float | 0.6 |     |
|
|
flareHorizontal
(fh )
| float | 1.0 |     |
|
|
flareIntensity
(fi )
| float | 1.0 |      |
|
|
flareLength
(fl )
| float | 1.0 |     |
|
|
flareMaxSize
(fa )
| float | 1.0 |     |
|
|
flareMinSize
(fm )
| float | 0.1 |     |
|
|
flareNumCircles
(fn )
| float | 20.0 |     |
|
|
flareVertical
(fv )
| float | 1.0 |     |
|
|
fogNoise
(fd )
| float | 0.0 |     |
|
|
fogColor
(fc )
| float3 | 1.0, 1.0, 1.0 |     |
|
|
|
|
|
fogIntensity
(oi )
| float | 1.0 |     |
|
|
fogOpacity
(fo )
| float | 0.0 |     |
|
|
fogRadialNoise
(fz )
| float | 0.0 |     |
|
|
fogSpread
(fs )
| float | 1.0 |     |
|
|
fogStarlevel
(fe )
| float | 0.0 |     |
|
|
fogType
(ft )
| short | 0 |     |
|
|
glowNoise
(gd )
| float | 0.0 |     |
|
|
glowColor
(gc )
| float3 | 1.0, 1.0, 1.0 |     |
|
|
|
|
|
glowIntensity
(gi )
| float | 1.0 |      |
|
|
glowOpacity
(go )
| float | 0.0 |     |
|
|
glowRadialNoise
(gn )
| float | 0.0 |     |
|
|
glowSpread
(gs )
| float | 1.0 |     |
|
|
glowStarLevel
(gv )
| float | 3.0 |     |
|
|
glowType
(gt )
| enum | LINEAR_GLOW |      |
|
|
glowVisibility
(gvb )
| float | 1.0 |    |
|
|
haloColor
(hc )
| float3 | 1.0, 1.0, 1.0 |     |
|
|
|
|
|
haloIntensity
(hi )
| float | 1.0 |      |
|
|
haloSpread
(hs )
| float | 1.0 |     |
|
|
haloType
(ht )
| enum | 0 |      |
|
|
hexagonFlare
(hf )
| bool | false |     |
|
|
ignoreLight
(il )
| bool | false |     |
|
|
lensFlare
(lf )
| bool | false |      |
|
|
lightColor
(lr )
| float3 | 1.0, 1.0, 1.0 |    |
|
| lightColorR
(lcr )
| float | 0.0 |    | |
|
| lightColorG
(lcg )
| float | 0.0 |    | |
|
| lightColorB
(lgb )
| float | 0.0 |    | |
|
|
lightConnection
(ln )
| Message | n/a |   |
|
|
lightWorldMat
(lw )
| matrix | identity |    |
|
|
noiseThreshold
(nt )
| float | 0.5 |     |
|
|
noiseUoffset
(ni )
| float | 1.0 |     |
|
|
noiseUscale
(nu )
| float | 1.0 |     |
|
|
noiseVoffset
(nf )
| float | 0.5 |     |
|
|
noiseVscale
(nv )
| float | 1.0 |     |
|
|
radialFrequency
(rf )
| float | 0.5 |     |
|
|
rotation
(ra )
| float | 0.0 |     |
|
|
starPoints
(sp )
| float | 4.0 |     |
|
|
visibility
(vb )
| float3 | 1.0, 1.0, 1.0 |    |
|
| visibilityR
(vbr )
| float | 0.0 |    | |
|
| visibilityG
(vbg )
| float | 0.0 |    | |
|
| visibilityB
(vbb )
| float | 0.0 |    | |
|