Skip to content

Commit 6ee6a03

Browse files
skhiatsebastienlagarde
authored andcommitted
Distortion Blur from 1 to 0 according to the doc #6478
1 parent 1f7b95d commit 6ee6a03

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

com.unity.render-pipelines.high-definition/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1515
- Fixed error thrown when layered lit material has an invalid material type.
1616
- Fixed a warning because of a null texture in the lens flare pass.
1717
- Fixed a nullref when enabling raycount without ray tracing.
18+
- Fixed default value of "Distortion Blur" from 1 to 0 according to the doc.
1819

1920
## [13.1.3] - 2021-11-17
2021

com.unity.render-pipelines.high-definition/Editor/Material/ShaderGraph/HDBlockFields.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public struct SurfaceDescription
3232
public static BlockFieldDescriptor Distortion = new BlockFieldDescriptor(SurfaceDescription.name, "Distortion", "SURFACEDESCRIPTION_DISTORTION",
3333
new Vector2Control(Vector2.zero), ShaderStage.Fragment); // TODO: Lit is Vector2(2.0f, -1.0f)
3434
public static BlockFieldDescriptor DistortionBlur = new BlockFieldDescriptor(SurfaceDescription.name, "DistortionBlur", "Distortion Blur", "SURFACEDESCRIPTION_DISTORTIONBLUR",
35-
new FloatControl(1.0f), ShaderStage.Fragment);
35+
new FloatControl(0.0f), ShaderStage.Fragment);
3636
public static BlockFieldDescriptor ShadowTint = new BlockFieldDescriptor(SurfaceDescription.name, "ShadowTint", "Shadow Tint", "SURFACEDESCRIPTION_SHADOWTINT",
3737
new ColorRGBAControl(Color.black), ShaderStage.Fragment);
3838

0 commit comments

Comments
 (0)