WHAT IS
3D RAD?
CLICK HERE
TO FIND OUT!


Fog


This object allows you to set general fog properties, like start/end distance and color.

IMPORTANT: like other special rendering effects, fog will only affect SkinMesh objects in the scene.



Enabled at start

Whether to render the fog effect when the project is run. If this option is unchecked, you will have to link this object to an event object like for example EventTimer in order to enable the fog effect.

Fog color

Click the color button to open the color picker.

Fog start distance

The distance, in meters, at which surface colors start to be affected by fog.

Fog end distance

The distance, in meters, at which surface colors are completely changed to fog color.

For information about the remaining controls, please click here.



INTERNAL PARAMETERS


The following internal parameters can be accessed by using event objects like EventOnValue or Script:

  • Red component, between 0 and 1
  • Green component, between 0 and 1
  • Blue component, between 0 and 1
  • For start, write only
  • For end, write only