Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.30f1
2021.2
2022.1
2022.2
Issue ID
1409554
Regression
No
Custom surface shaders using emissive Standard lighting does not match Unity Standard shader without the [Gamma] tag
Reproduction steps:
1. Download and open the attached "StandardEmissiveRequiresGammaTag.zip" project
2. Open the "main" scene
3. Observe the Game view
Expected result: "Custom Standard Simple" materials look identical to "Custom Standard Simple [Gamma]" materials
Actual result: "Custom Standard Simple" materials are brighter than the "Custom Standard Simple [Gamma]" materials
Reproducible with: 2019.4.36f1, 2020.3.31f1, 2021.2.15f1, 2022.1.0b11, 2022.2.0a7
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
- "Paste" option is available in Shader Graph contextual menu even when the clipboard has unrelated item
- Editor crashes when debugging a for loop
- Crash on UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
Resolution Note:
The provided surface shader is different than Standard.shader because it has [HDR] on the _EmissionColor property.
Adding [HDR] sets the color property to be in linear space by default unless the [Gamma] tag is added in which case it will then go back to being sRGB.