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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note:
When baking a directional light custom shaders modifying lighting intensity are not taken into account. This is by design.