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
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ void ConvertRoughnessTAndAnisotropyToRoughness(real roughnessT, real anisotropy,
roughness = roughnessT / (1 + anisotropy);
}

real ConvertRoughnessTAndBToRoughness(real roughnessT, real roughnessB)
{
return 0.5 * (roughnessT + roughnessB);
}

void ConvertRoughnessToAnisotropy(real roughnessT, real roughnessB, out real anisotropy)
{
anisotropy = ((roughnessT - roughnessB) / max(roughnessT + roughnessB, 0.0001));
Expand Down
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 @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed references to reflection probes that wouldn't be cleared when unloading a scene. (case 1357459)
- Fixed issue with Stacklit raytrace reflection
- Fixed various issues with using SSR lighting with IBL fallback for Lit shader with clear coat(case 1380351)
- Fixed stackLit coat screen space reflection and raytrace reflection light hierarchy and IBL fallback

### Changed
- Optimizations for the physically based depth of field.
Expand Down
Loading