08 / 20
Packages/2D Parallax Pro/Lighting & optional URP
LIGHT & ATMOSPHERE
08 / 20

Lighting & optional URP

Basic Tint, Lightweight and authored URP 17 Light2D/shadow integration.

English guideSource: Unity 6000.3.13f1 · URP 17.x optional10 October 2026

Core parallax works without URP. Choose the lighting path for the presentation you need, then author actual 2D lights/shadows when using the optional bridge.

Choose a lighting mode#

Mode / fieldUse
Basic TintDisable ray support. Enable separate Environment Colours for layer/sky tint; Lighting alone does not tint sprites.
LightweightSupply Sun/Moon intensity data for rays without requiring URP Light2D/shadows.
URP2DSend color, intensity and direction to a configured Output bridge with authored Light2D components.
Sun / Moon ColorOutput light colors; visible celestial sprites have separate colors.
Sunlight / Moonlight IntensityBase values multiplied by daylight curves. Guide example: one and 0.25.
Manual Lighting / DaylightUse manual zero-to-one daylight; time-based Direction still follows the clock.
Intensity curves / Direction OffsetCurve X is daylight, not time. Offset adds degrees to daily direction.

Optional URP 17 integration#

  1. Install URP 17.x and configure a 2D Renderer on active Graphics/Quality pipeline assets.
  2. Choose Lighting > Enable URP 17 Bridge. It creates the active bridge assembly from the included .asmdef.txt template; wait for compilation.
  3. Add Parallax2DURPLightBridge to an environment child. Assign authored Sun/Moon and optional Ambient Light2D components.
  4. Assign the bridge to Lighting Output and select URP2D.
  5. Use Sprite-Lit-Default or compatible lit materials for sprites that should receive light. Supplied unlit materials do not respond.
  6. Author ShadowCaster2D shapes and assign bridge arrays; use CompositeShadowCaster2D groups when appropriate.
  7. Inspect affected sorting layers, shadow settings, light range and output at Hour 12/0.

Sprites and lights are separate#

Sun & Moon creates visible SpriteRenderers. Bridge Sun/Moon fields need Light2D, not those sprite references. Enabling the bridge assembly does not configure your pipeline renderer or author lights/caster geometry.

The guide's project used URP 17.3.0, and its bridge targets 17.x; no URP 18+ support claim is made. Before removing URP, remove bridge components and generated Integrations/URP/ERAGANX.Parallax2D.URP.asmdef, retaining the .txt template. No global ERAGANX_HAS_URP17 define is required by the documented workflow.

Adapted from the supplied guide · PDF pages 15–16.View source guide ↗
Keep creating.ERAGAN STUDIO.

Search a topic, setting or method across all package guides.