Search Issue Tracker

Fixed in 5.2.1

Votes

31

Found in [Package]

1.1.4-preview

Issue ID

1058836

Regression

No

[LWRP] Light layer culling not working

Package: Scriptable Render Pipeline Lightweight

-

SRP Repo: Issue #1647

Culling mask/layer of directional light doesn't work properly.

Steps:
-Create new project by selecting Lightweight RP (Preview) (uses lightweight 1.1.4-preview)
-Disable light auto bake, clear generated lighting
-Set Directional Light culling mask to Water Layer Only & Realtime Mode
= Lights which should only affect water layer does affect default layer assets

  1. Resolution Note (fix version 5.2.1):

    Unity 2019.1.0a10 or above is needed.

Comments (12)

  1. aolioijh9

    Mar 29, 2024 07:03

    Thank you

  2. vishnu93

    Dec 31, 2019 12:22

  3. mattone593

    Oct 27, 2019 06:19

    Isue

  4. DaresFireson

    Apr 11, 2019 05:11

    I have the same problem with two cameras

  5. Khaldanis1

    Feb 12, 2019 01:05

    yeah this is bad

  6. deus0

    Jan 24, 2019 07:08

    Isn't working for me in Unity 2018.3.2f1

  7. CloudyVR

    Jan 13, 2019 02:28

    Not fixed in 2018, after baking, lights still affect indirect no matter what layer mask is. Very bad design imo.

  8. zed69

    Nov 15, 2018 16:09

    Doesn't work in Legacy too without Render Pipeline Asset

  9. Immu

    Sep 20, 2018 15:14

    Good to know, thanks Phil :)

  10. phil_lira

    Sep 18, 2018 14:50

    A little update on this issue. In order to support this feature efficiently in all platforms it will require some changes added to Unity. i.e, it's not something I can fix in the package. So it will take a few weeks until this is fixed but I just wanted to let you know it's being worked on.

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.