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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
When baking a directional light custom shaders modifying lighting intensity are not taken into account. This is by design.