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 @@ -102,6 +102,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed Cutoff not working properly with ray tracing shaders default and SG (case 1261292).
- Fixed shader compilation issue with Hair shader and debug display mode
- Fixed cubemap static preview not updated when the asset is imported.
- Fixed wizard DXR setup on non-DXR compatible devices.

### Changed
- Preparation pass for RTSSShadows to be supported by render graph.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,14 +633,17 @@ void CheckPersistantNeedReboot()

bool IsDXRAssetCorrect()
=> HDRenderPipeline.defaultAsset != null
&& HDRenderPipeline.defaultAsset.renderPipelineRayTracingResources != null;
&& HDRenderPipeline.defaultAsset.renderPipelineRayTracingResources != null
&& SystemInfo.supportsRayTracing;
void FixDXRAsset(bool fromAsyncUnused)
{
if (!IsHdrpAssetUsedCorrect())
FixHdrpAssetUsed(fromAsync: false);
HDRenderPipeline.defaultAsset.renderPipelineRayTracingResources
= AssetDatabase.LoadAssetAtPath<HDRenderPipelineRayTracingResources>(HDUtils.GetHDRenderPipelinePath() + "Runtime/RenderPipelineResources/HDRenderPipelineRayTracingResources.asset");
ResourceReloader.ReloadAllNullIn(HDRenderPipeline.defaultAsset.renderPipelineRayTracingResources, HDUtils.GetHDRenderPipelinePath());
if (!SystemInfo.supportsRayTracing)
Debug.LogError("Your hardware and/or OS don't support DXR!");
}

bool IsDXRScreenSpaceShadowCorrect()
Expand Down