Search Issue Tracker


Fixed in 2022.2.2f1, 2023.1.0a24



Found in



Issue ID




GBuffer shadowmask only contains red channel



There is an unexpected difference in lighting between deferred and forward caused by an incorrect render of the shadowmask in the GBuffer (_GBuffer5). Not sure if this is the only cause or only part of it.

Attached images for expected vs actual

Steps to repro:
# Download and open the repro project
# Find the renderer in the settings folder
# Swap it's rendering path to forward and see 2 shadow masked spot lights appear

Disabling the main directional light (which is taking the red channel of the shadow mask) and rebaking will free up the red channel so one of the spotlights will be working instead.


  1. Resolution Note (fix version 2023.1.0a24):

    Fix validated

  2. Resolution Note (fix version 2022.2.2f1):

    Fix validated

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.