Skip to content

Commit

Permalink
Clamp probes compression factor to 0 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoC-unity authored and sebastienlagarde committed Apr 7, 2020
1 parent 0cd0299 commit accff86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Expand Up @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed an issue where unncessarily serialized members in StaticLightingSky component would change each time the scene is changed.
- Fix issues in the post process system with RenderTexture being invalid in some cases, causing rendering problems.
- Fixed an issue where changing the default volume profile from another inspector would not update the default volume editor.
- Fix for range compression factor for probes going negative (now clamped to positive values).

### Changed
- Rejecting history for ray traced reflections based on a threshold evaluated on the neighborhood of the sampled history.
Expand Down
Expand Up @@ -137,6 +137,7 @@ public struct Lighting
public float fadeDistance;
/// <summary>The result of the rendering of the probe will be divided by this factor. When the probe is read, this factor is undone as the probe data is read.
/// This is to simply avoid issues with values clamping due to precision of the storing format.</summary>
[Min(1e-6f)]
public float rangeCompressionFactor;
}

Expand Down

0 comments on commit accff86

Please sign in to comment.