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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
When baking a directional light custom shaders modifying lighting intensity are not taken into account. This is by design.