Skip to content

Lava and lightning

  1. Place Planet_Lava_01 and select its root Mesh Renderer. Duplicate and reassign the body material Lava/Materials/Planet_Lava_03.mat. Leave the atmosphere assigned.
  2. Keep the original Magma Map and lava masks. Set a fixed Exposure so you can compare the fissures without the camera adapting.
  3. Change Magma Color Min and Magma Color Max to set the hot palette. Try Magma Glow for overall emission strength. Use Magma Power and Magma Boost to shape which parts of the magma texture stand out.
  4. Move the Directional Light until you see highlights on the rock. Tune Specular, Specular Color, Specular Boost and Smoothness while leaving the magma values fixed. The light-dependent sheen and the emissive fissures have separate controls.

Lava 01 with bright fissure detail at Magma Boost 123.7

Before · Magma Boost 123.7 on the assigned Lava 03 material.

Lava 01 at Magma Boost zero with glow still visible in parts of the fissure network

After · Magma Boost 0. Some glow remains through the masked lava emission.

  1. Place Planet_Thunderstorm_01 and make a copy of its body material. Keep Lighting Mask Map and Lighting Map assigned.
  2. Enter Play Mode and watch the surface for several seconds. Lightning uses timed phases and masks, so it can be quiet in a still frame.
  3. Change Lightning Color or Lightning Boost to make the flash stronger or more subtle. To change the motion of the two lightning patterns, adjust Lighting A Frequency or Lighting B Frequency separately and compare several seconds of playback.
  4. If flashes appear as broad white patches, lower Lightning Boost and check Exposure and Bloom. The flashes are material emission on the planet.

Bright lightning at a visible phase on the storm planet

Before · Lightning Color at preset RGB (0.566, 1.000, 0.892), at an active phase 0.24 s into the effect.

Same storm planet and animation phase with the lightning color set to black

After · Lightning Color RGB (0, 0, 0) at the same phase. The comparison isolates flash color.

Before at full size · After at full size

See Lava shader settings and Thunderstorm shader settings for the material controls.