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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Resolution Note:
When baking a directional light custom shaders modifying lighting intensity are not taken into account. This is by design.