CodeBlanks Logo Icon CodeBlanks

What is post-processing?

Learn that post-processing applies effects to the frame.

What is post-processing?

Post-processing is the effect stage applied to the image after the frame of the game has been rendered. It only affects the final look without changing the objects in the scene. This way settings such as brightness, color and blur are done on the frame.

efektAdi = "Bloom";
efektGecerli = true;

These effects artistically edit the final image the camera sees.

Working on the frame

Post-processing effects are applied in order on a single frame. Each effect takes the output of the previous one and produces a new result. This is why the order of effects changes the outcome.

islenmis = bloom(islenmis);
islenmis = vignette(islenmis);

In the end, the processed frame is shown on the screen.

Practice Keep an effect record

In a class named EfektKaydi, define a string ad field with the value "Post-processing". In the Start method, print the text "Efekt: " joined with ad using Debug.Log.

Starter code

Player.cs
using UnityEngine;

public class EfektKaydi : MonoBehaviour
{
    // string ad alanini "Post-processing" degeriyle tanimla

    void Start()
    {
        // "Efekt: " metnini ad ile birlestirip yazdir
    }
}

Sample solution

Player.cs
using UnityEngine;

public class EfektKaydi : MonoBehaviour
{
    string ad = "Post-processing";

    void Start()
    {
        Debug.Log("Efekt: " + ad);
    }
}

Expected output

Efekt: Post-processing

Questions and answers

Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.

1 When is a post-processing effect applied to the image?

  • After the frame has been rendered Correct answer
  • When the object is added to the scene
  • When the script is compiled
  • When the project is saved

Explanation: Post-processing works on the rendered frame; it is applied to the final image, not to the scene objects.

2 Write the target of the effect

Question
    string hedef = "____";
Answer
    string hedef = "frame";

Explanation: A post-processing effect is applied to the rendered frame.

3 Parts of post-processing

Term Meaning
Post-processing The effect stage applied to the frame
Frame A single rendered frame
Efekt A setting that changes the image
Son görüntü The result after the effects

All lessons in Advanced