Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- UI for Frame Settings has been updated: default values in the HDRP Settings and Custom Frame Settings are always editable
- Updated Light's shadow layer name in Editor.
- Increased path tracing max samples from 4K to 16K (case 1327729).
- Film grain does not affect the alpha channel.

## [11.0.0] - 2020-10-21

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Shader "Hidden/HDRP/FinalPass"
float lum = 1.0 - sqrt(Luminance(outColor));
lum = lerp(1.0, lum, _GrainParams.y);

outColor += outColor * grain * _GrainParams.x * lum;
outColor.xyz += outColor.xyz * grain * _GrainParams.x * lum;
}
#endif

Expand Down