Search Issue Tracker
By Design
Votes
0
Found in
2020.3.47f1
2021.3.22f1
2022.2.13f1
2023.1.0b11
2023.2.0a9
Issue ID
UUM-32129
Regression
No
[HDRP] Shader Graph shader does not expose the Exposure weight property
Steps to reproduce:
1. Open attached project "ShaderGraph.zip" and Scene "OutdoorsScene"
2. In Project window, select Assets -> ShaderGraph -> Experiment.mat
3. In Inspector window, adjust the "DissolveAmount" scale
4. Observe changes in Project window's "Experiment.mat" asset's preview, Inspector's preview
5. Compare to changes in Scene, Game view on the "Lamp_4" GameObject
Note: this is a shader authored with Shader Graph, using HDRP as the Active Target. The same applies to a shader created via RMB>Create>Shader Graph>HDRP>Lit Shader Graph. Since the Emission Weight property is not exposed, it is impossible to prevent Exposure from affecting the shader graph's emission.
Expected result: Both the material asset's previews, and the "Lamp_4" GameObject display a glow effect as the DissolveAmount scale is increased
Actual result: The material asset's previews display the effect correctly.
Reproducible with: 10.10.1 (2020.3.47f1), 12.1.10 (2021.3.22f1), 14.0.6 (2022.2.13f1), 15.0.4 (2023.1.0b11), 16.0.1 (2023.2.0a9)
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note:
The exposure weight must be controlled inside the graph using the Emission node in HDRP: https://docs.unity3d.com/Packages/com.unity.shadergraph@14.0/manual/Emission-Node.html
This node allows you to control the exposure weight and exposure intensity, you can use this node as an input of the emission color in the ShaderGraph.