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 |
dependNode |
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 |
    |
|
glowType
(gt) |
enum |
LINEAR_GLOW |
     |
|
haloType
(ht) |
enum |
0 |
     |
|
fogType
(ft) |
short |
0 |
    |
|
lensFlare
(lf) |
bool |
false |
     |
|
glowColor
(gc) |
float3 |
1.0, 1.0, 1.0 |
    |
|
glowColorR
(gr) |
float |
0.0 |
     |
|
|
glowColorG
(gg) |
float |
0.0 |
     |
|
|
glowColorB
(gb) |
float |
0.0 |
     |
|
|
haloColor
(hc) |
float3 |
1.0, 1.0, 1.0 |
    |
|
haloColorR
(hr) |
float |
0.0 |
     |
|
|
haloColorG
(hg) |
float |
0.0 |
     |
|
|
haloColorB
(hb) |
float |
0.0 |
     |
|
|
fogColor
(fc) |
float3 |
1.0, 1.0, 1.0 |
    |
|
|
|
|
|
|
|
flareColor
(rc) |
float3 |
1.0, 1.0, 1.0 |
    |
|
flareColorR
(rr) |
float |
0.0 |
     |
|
|
flareColorG
(rg) |
float |
0.0 |
     |
|
|
flareColorB
(rb) |
float |
0.0 |
     |
|
|
flareIntensity
(fi) |
float |
1.0 |
     |
|
flareNumCircles
(fn) |
float |
20.0 |
    |
|
flareMinSize
(fm) |
float |
0.1 |
    |
|
flareMaxSize
(fa) |
float |
1.0 |
    |
|
flareColSpread
(lc) |
float |
0.5 |
    |
|
flareFocus
(ff) |
float |
0.6 |
    |
|
flareVertical
(fv) |
float |
1.0 |
    |
|
flareHorizontal
(fh) |
float |
1.0 |
    |
|
flareLength
(fl) |
float |
1.0 |
    |
|
hexagonFlare
(hf) |
bool |
false |
    |
|
glowIntensity
(gi) |
float |
1.0 |
     |
|
haloIntensity
(hi) |
float |
1.0 |
     |
|
fogIntensity
(oi) |
float |
1.0 |
    |
|
glowSpread
(gs) |
float |
1.0 |
    |
|
haloSpread
(hs) |
float |
1.0 |
    |
|
fogSpread
(fs) |
float |
1.0 |
    |
|
glowNoise
(gd) |
float |
0.0 |
    |
|
fogNoise
(fd) |
float |
0.0 |
    |
|
glowRadialNoise
(gn) |
float |
0.0 |
    |
|
fogRadialNoise
(fz) |
float |
0.0 |
    |
|
glowStarLevel
(gv) |
float |
3.0 |
    |
|
fogStarlevel
(fe) |
float |
0.0 |
    |
|
glowOpacity
(go) |
float |
0.0 |
    |
|
fogOpacity
(fo) |
float |
0.0 |
    |
|
radialFrequency
(rf) |
float |
0.5 |
    |
|
starPoints
(sp) |
float |
4.0 |
    |
|
rotation
(ra) |
float |
0.0 |
    |
|
noiseUscale
(nu) |
float |
1.0 |
    |
|
noiseVscale
(nv) |
float |
1.0 |
    |
|
noiseUoffset
(ni) |
float |
1.0 |
    |
|
noiseVoffset
(nf) |
float |
0.5 |
    |
|
noiseThreshold
(nt) |
float |
0.5 |
    |
|
ignoreLight
(il) |
bool |
false |
    |
|
lightWorldMat
(lw) |
matrix |
identity |
   |
|
lightConnection
(ln) |
Message |
n/a |
  |
|
glowVisibility
(gvb) |
float |
1.0 |
   |
|
lightColor
(lr) |
float3 |
1.0, 1.0, 1.0 |
   |
|
lightColorR
(lcr) |
float |
0.0 |
   |
|
|
lightColorG
(lcg) |
float |
0.0 |
   |
|
|
lightColorB
(lgb) |
float |
0.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 |
   |
|