Search Issue Tracker

By Design

Votes

0

Found in

2018.3.0b4

Issue ID

1089709

Regression

No

Custom lighting models in Surface Shaders don't have the effect on the Static object

Progressive Lightmapper

-

To reproduce:

1. Download project "surface shader.zip" and open in Unity
2. Open "SampleScene" scene
3. In Hierarchy observe that "Cube" gameObject is Non-Static and "Sphere" gameObject is Static
4. Open Lighting window and Generate Lighting
5. Enter Play mode
6. Select "Directional Light" gameObject in Hierarchy and increase its Intensity
7. Observe that the Static object with Lightmap was not affected by Light

Notes:

- This issue appears on both Windows and macOS
- This issue reproduces on Standalone
- Affects both Enlighten and Progressive lightmappers
- Affects both realtime and baked GI

Reproduced on Unity 2017.4.0f1, 2017.4.13f1, 2018.1.9f2, 2018.2.12f1, 2018.3.0b5, 2018.3.0b6 and 2019.1.0a5

  1. Resolution Note:

    When baking a directional light custom shaders modifying lighting intensity are not taken into account. This is by design.

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.