Skip to content

Commit 6cef9aa

Browse files
authored
Remap Distortion Blur from 1 to 0 according to the doc (#6478)
1 parent bf767d7 commit 6cef9aa

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
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111
- Changed sample scene in HDRP material samples: add shadow transparency (raster, ray-traced, path-traced).
1212
- Support for encoded HDR cubemaps, configurable via the HDR Cubemap Encoding project setting.
1313
- The rendering order of decals that have a similar draw order value was modified. The new order should be the reverse of the previous order.
14+
- Fixed default value of "Distortion Blur" from 1 to 0 according to the doc.
1415

1516
### Fixed
1617
- Fixed some XR devices: Pulling camera world space position from mainViewConstants instead of transform.

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
@@ -40,7 +40,7 @@ public struct SurfaceDescription
4040
public static BlockFieldDescriptor Distortion = new BlockFieldDescriptor(SurfaceDescription.name, "Distortion", "SURFACEDESCRIPTION_DISTORTION",
4141
new Vector2Control(Vector2.zero), ShaderStage.Fragment); // TODO: Lit is Vector2(2.0f, -1.0f)
4242
public static BlockFieldDescriptor DistortionBlur = new BlockFieldDescriptor(SurfaceDescription.name, "DistortionBlur", "Distortion Blur", "SURFACEDESCRIPTION_DISTORTIONBLUR",
43-
new FloatControl(1.0f), ShaderStage.Fragment);
43+
new FloatControl(0.0f), ShaderStage.Fragment);
4444
public static BlockFieldDescriptor ShadowTint = new BlockFieldDescriptor(SurfaceDescription.name, "ShadowTint", "Shadow Tint", "SURFACEDESCRIPTION_SHADOWTINT",
4545
new ColorRGBAControl(Color.black), ShaderStage.Fragment);
4646

0 commit comments

Comments
 (0)