You are viewing development documentation

Open Live Docs

Version 6.4.0 is out!Hotspotting, in-shader Tonemapping, vertex lights, and bug fixes!

Get it now See What's New
Logo

Standard Shaders (PBR)

Vertical Fog Shader

Options relevant to the orels1/Standard Vertical Fog shader


This shader applies a world-space gradient to the affected meshes, which is often useful for emulating height fog for distant meshes, like skybox-type cityscapes

Vertical Fog Demo

Vertical Fog InspectorVertical Fog Inspector

Settings

  • Bottom Color: The start color of the gradient
  • Top Color: The end color of the gradient, both start and end support alpha values
  • Start Height: The beginning of the gradient, in world space
  • End Height: The end of the gradient, in world space
  • Tint: Global tint applied to the whole mesh after the gradient application. Helps with skybox/cloud/ground layer blending in cases where GI isn't really available easily
Previous
Vertex Animation