Skip to content

[HDRP] Fix tile/cluster debug for Decal and Fog #6635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 17, 2021
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 @@ -88,6 +88,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed a crash with render graph viewer when render graph is not provided with an execution name.
- Fixed rendering in the editor when an incompatible API is added (case 1384634).
- Fixed issue with typed loads on RGBA16F in Volumetric Lighting Filtering.
- Fixed Tile/Cluster Debug in the Rendering Debugger for Decal and Local Volumetric Fog

### Changed
- Converted most TGA textures files to TIF to reduce the size of HDRP material samples.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,35 +214,32 @@ public enum LightVolumeDebug : int
public enum TileClusterCategoryDebug : int
{
/// <summary>Punctual lights.</summary>
Punctual = 1,
Punctual = (1 << LightCategory.Punctual),
/// <summary>Area lights.</summary>
Area = 2,
Area = (1 << LightCategory.Area),
/// <summary>Area and punctual lights.</summary>
[InspectorName("Area and Punctual")]
AreaAndPunctual = 3,
AreaAndPunctual = Area | Punctual,
/// <summary>Environment lights.</summary>
[InspectorName("Reflection Probes")]
Environment = 4,
Environment = (1 << LightCategory.Env),
/// <summary>Environment and punctual lights.</summary>
[InspectorName("Reflection Probes and Punctual")]
EnvironmentAndPunctual = 5,
EnvironmentAndPunctual = Environment | Punctual,
/// <summary>Environment and area lights.</summary>
[InspectorName("Reflection Probes and Area")]
EnvironmentAndArea = 6,
EnvironmentAndArea = Environment | Area,
/// <summary>All lights.</summary>
[InspectorName("Reflection Probes, Area and Punctual")]
EnvironmentAndAreaAndPunctual = 7,
/// <summary>Probe Volumes.</summary>
[InspectorName("Probe Volumes")]
ProbeVolumes = 8,
EnvironmentAndAreaAndPunctual = Environment | Area | Punctual,
/// <summary>Decals.</summary>
Decal = 16,
Decal = (1 << LightCategory.Decal),
/// <summary>Local Volumetric Fog.</summary>
LocalVolumetricFog = 32,
LocalVolumetricFog = (1 << LightCategory.LocalVolumetricFog),
/// <summary>Local Volumetric Fog.</summary>
[Obsolete("Use LocalVolumetricFog", false)]
[InspectorName("Local Volumetric Fog")]
DensityVolumes = 32
DensityVolumes = LocalVolumetricFog
};

[GenerateHLSL(needAccessors = false, generateCBuffer = true)]
Expand Down