Skip to main content
Skip table of contents

Fog Components

OKO Web Client 2.24.1 - CSP 4.19.0 | Version 1.0.0 (117785) - CSP 4.18.0 - UE 5.1


This guide will assist you in adding a Fog Component to an Entity.

Instructions for OKO Web

Create an empty Entity and then select “Fog” from the Component List.

image7.png

Once selected, the Fog Component will appear under the Entity in the Properties Menu. You will also see the settings for it.

Settings 

  • Fog Mode – you can select the mode of the Fog Component choosing between Linear, Exponential and Exponential Squared. 

    • Linear – uses a linear function to control the density of the fog.  

    • Exponential – uses an exponential function to control the density of the fog.

    • Exponential Squared – similar to the Exponential mode, though this uses an exponential squared function to control the density of the fog which, as a result, becomes denser more quickly.

  • Color – here you have the option of adjusting the color of the Fog Component by editing the Color Swatch Panel.

  • Density – you can adjust the density of the fog by using the slider in the Properties Panel.

image1.png

Instructions for the OKO Unreal Editor Extension Plugin

Fog Components can also be added to a space using the OKO Ureal Plugin.

First, create an OKO Entity by adding an Actor in the space.

image3.png

Next, convert that Actor into an OKO Entity by right-clicking the Actor and selecting “Convert Actor(s) to OKO”.

image5.png

You can rename the Actor/Entity if you would like to. 

Now, add the Fog Component to that Actor/Entity by pressing the “Add +” button.

image10.png

Search for the Component you want to add.

image6.png

When the Fog Component is added, you will see a settings menu where you can edit your preferences.

image2.png

That’s it for Fog Components! 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.