fog
Fog {
exposedField SFColor color 1 1 1
exposedField SFString fogType "LINEAR"
exposedField SFFloat visibilityRange 0
eventIn SFBool set_bind
eventOut SFBool isBound
}
- A bindable node!
- Does not fog background node so don't combine them
- Can be expensive to draw and will slow frame rate
- Use black fog for depth cueing
- Use blueish fog for underwater scenes
- Combine with visibilityLimit field of navigationInfo node to fade distant
objects in smoothly
- Linear or Exponential fog is possible, linear is faster but less realistic
Example