beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Fog_v2 Op

Ops.Gl.TextureEffects.Fog_v2


Fog

Op author: andro

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Gl.TextureEffects.Fog_v4

Render fog as a texture effect using a depth texture


summary (oneliner)

Allows fog to be added to a scene as a texture effect



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Trigger


Blend Mode index (integer /Number)

Blending

Blend Mode (string /Number)

Blend mode


Amount (Number)

Amount of blend mode


depth texture (Object)

Depth texture in


Color gradient (Object)

gradient texture changes fog over distance


Frustum near (Number)

Frustrum near


Frustum far (Number)

Frustrum near


fogStart (Number)

Fog start - default 0


fogEnd (Number)

Fog end


density (Number)

Density of fog


fog r (Number)

Fog red color amount


fog g (Number)

Green color amount


fog b (Number)

Blue color amount


fog a (Number)

Alpha amount


invert direction (boolean /Number)

Invert direction of fog


Outputs

trigger (Trigger)

TRigger out


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

fog example

Open Example In Editor


Patches using Fog_v2

Changelog


created op
2019-08-09 - andro