Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Global & Local Lights with Bloom | Fundamentals of Juice
Unity for Beginners

bookGlobal & Local Lights with Bloom

Sveip for å vise menyen

2D Lighting: Global & Local Lights with Bloom

Lighting is a subtle but powerful tool for guiding the player's eye and making the scene feel alive.

So far, our vignette has helped create a sense of lighting by darkening the edges. But sometimes, we want specific objects to glow or stand out, like the player or power-ups.

Global Lighting

The Global 2D Light in the Hierarchy affects the entire scene.

  • adjust its intensity to make the scene brighter or darker;
  • adjust color tint to set mood or atmosphere.

Global lighting is great for overall tone, but doesn't highlight individual objects.

Local Lights (Spotlights)

To make objects stand out:

  • create -> Lighting -> Spot Light;
  • make it a child of the object (player or power-up).

Adjust:

  • Radius -> how far the light spreads;
  • Intensity -> how bright it is;
  • Color -> match object's theme.

Result: the object has a visible aura, attracting attention.

For prefabs, add the light to the prefab itself so all spawned instances inherit it.

Adding Bloom for Glow

Bloom enhances the perceived brightness of lights, making them pop.

In your Post Processing Volume, add a Bloom override.

Adjust:

  • Threshold -> which brightness triggers bloom;
  • Intensity -> how strong the glow is.

This makes player and power-up lights visually "pop," increasing aesthetic appeal.

1. How would you make the player character emit a glow that moves with it?

2. How can you make all instances of a power-up glow automatically when they appear in the scene?

3. How would you make the lights in your scene visually pop more using post processing?

question mark

How would you make the player character emit a glow that moves with it?

Velg det helt riktige svaret

question mark

How can you make all instances of a power-up glow automatically when they appear in the scene?

Velg det helt riktige svaret

question mark

How would you make the lights in your scene visually pop more using post processing?

Velg det helt riktige svaret

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 5. Kapittel 4

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Seksjon 5. Kapittel 4
some-alt