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

bookGlobal & Local Lights with Bloom

Scorri per mostrare il menu

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?

Seleziona la risposta corretta

question mark

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

Seleziona la risposta corretta

question mark

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

Seleziona la risposta corretta

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 5. Capitolo 4

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

Sezione 5. Capitolo 4
some-alt