From 4b806417ca184cf8db7fed34277db2a52d80faa6 Mon Sep 17 00:00:00 2001 From: Evergreen Date: Mon, 22 Jun 2026 12:15:13 +0000 Subject: [PATCH 001/231] [UUM-144615] Disable unstable Lighting Playmode test --- .../HDRP_DXR_Tests/Assets/Tests/HDRP_DXR_Graphics_Tests.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/SRPTests/Projects/HDRP_DXR_Tests/Assets/Tests/HDRP_DXR_Graphics_Tests.cs b/Tests/SRPTests/Projects/HDRP_DXR_Tests/Assets/Tests/HDRP_DXR_Graphics_Tests.cs index 25001be4730..c391df40c79 100644 --- a/Tests/SRPTests/Projects/HDRP_DXR_Tests/Assets/Tests/HDRP_DXR_Graphics_Tests.cs +++ b/Tests/SRPTests/Projects/HDRP_DXR_Tests/Assets/Tests/HDRP_DXR_Graphics_Tests.cs @@ -201,6 +201,11 @@ public class HDRP_DXR_Other : HDRP_DXR_GraphicsTestBase "Unstable: https://jira.unity3d.com/browse/UUM-144615", RuntimePlatform.GameCoreXboxSeries )] + [IgnoreGraphicsTest( + "902_Materials_SG_Variants_Fabric", + "Disabled for Instability https://jira.unity3d.com/browse/UUM-144615", + RuntimePlatform.GameCoreXboxSeries + )] public IEnumerator GraphicsTest(SceneGraphicsTestCase testCase) { yield return HDRP_GraphicTestRunner.Run(testCase); From bfbfe0fd78516e1c95e219e0836a76756988b51e Mon Sep 17 00:00:00 2001 From: Evergreen Date: Mon, 22 Jun 2026 12:15:13 +0000 Subject: [PATCH 002/231] [UUM-145446] Disable unstable Materials Playmode test --- .../Assets/GraphicTests/Tests/RenderingFeatures.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Tests/RenderingFeatures.cs b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Tests/RenderingFeatures.cs index 165defdc17d..1c308044631 100644 --- a/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Tests/RenderingFeatures.cs +++ b/Tests/SRPTests/Projects/HDRP_Tests/Assets/GraphicTests/Tests/RenderingFeatures.cs @@ -117,6 +117,11 @@ public RenderingFeaturesTests(GpuResidentDrawerContext grdContext) : base(grdCon "Disabled for Instability https://jira.unity3d.com/browse/UUM-138001", RuntimePlatform.WindowsEditor )] + [IgnoreGraphicsTest( + "9701_CustomPass_DrawRenderers", + "Disabled for Instability https://jira.unity3d.com/browse/UUM-145446", + RuntimePlatform.WindowsEditor + )] public IEnumerator GraphicsTest(SceneGraphicsTestCase testCase) { yield return HDRP_GraphicTestRunner.Run(testCase); From 8ca167d50a560c41c021aea2554b9ce823ba6bb1 Mon Sep 17 00:00:00 2001 From: Reach Platform Support Date: Wed, 24 Jun 2026 07:50:08 +0000 Subject: [PATCH 003/231] [Port] [6000.6] Particle Shader Graph Samples --- .../Materials/SamplesFixtureEmissive.mat | 19 +- .../Common/Materials/SamplesRoughBlack.mat | 19 +- .../Materials/SamplesSpotlightEmissive.mat | 20 +- .../Materials/SamplesTurntable_White.mat | 19 +- .../Materials/Samples_BackdropFabric.mat | 19 +- .../Materials/Samples_BackdropFabric_Red.mat | 20 +- .../Common/Materials/Samples_BlackPaint.mat | 19 +- .../Common/Materials/Samples_Checker.mat | 19 +- .../Common/Materials/Samples_Curtain.mat | 19 +- .../Common/Materials/Samples_Platform.mat | 19 +- .../Common/Materials/Samples_RoughGrey.mat | 19 +- .../Common/Materials/Samples_RoughSteel.mat | 19 +- .../Common/Materials/Samples_Tripod.mat | 20 +- .../Shader Graphs_MaterialBall_Black.mat | 9 +- .../Shader Graphs_MaterialBall_Gold.mat | 9 +- .../Shader Graphs_MaterialBall_White.mat | 9 +- .../Samples~/Common/Prefabs/UnityBall.meta} | 2 +- .../Inter-Regular SDF Emissive Variant.mat | 19 +- .../ShaderLibrary/Particles.hlsl | 41 +- .../ParticleSystemShaderSamples/.sample.json | 5 - .../Materials/Background.mat | 342 ----------- .../Materials/Blocker.mat | 342 ----------- .../Materials/Lit.mat | 309 ---------- .../Materials/LitCameraFading.mat | 305 ---------- .../Materials/LitDistortion.mat | 316 ---------- .../Materials/LitDistortion.mat.meta | 8 - .../Materials/LitFlipbook.mat | 304 ---------- .../Materials/LitFlipbook.mat.meta | 8 - .../Materials/LitFlipbookCameraFading.mat | 305 ---------- .../LitFlipbookCameraFading.mat.meta | 8 - .../Materials/LitSoft.mat | 310 ---------- .../Materials/LitSoft.mat.meta | 8 - .../Materials/Unlit.mat | 302 ---------- .../Materials/Unlit.mat.meta | 8 - .../Materials/UnlitCameraFading.mat | 303 ---------- .../Materials/UnlitCameraFading.mat.meta | 8 - .../Materials/UnlitDistortion.mat | 308 ---------- .../Materials/UnlitDistortion.mat.meta | 8 - .../Materials/UnlitFlipbook.mat | 302 ---------- .../Materials/UnlitFlipbook.mat.meta | 8 - .../Materials/UnlitFlipbookCameraFading.mat | 303 ---------- .../UnlitFlipbookCameraFading.mat.meta | 8 - .../Materials/UnlitSoft.mat | 307 ---------- .../Materials/UnlitSoft.mat.meta | 8 - .../ParticleSystem RenderPipelineAsset.asset | 550 ------------------ ...ticleSystem RenderPipelineAsset.asset.meta | 8 - .../ParticleShaderGraphsSampleScene.unity | 3 - .../Shaders/ParticleLit.shadergraph | 3 - .../ParticleLitCameraFading.shadergraph | 3 - .../Shaders/ParticleLitDistortion.shadergraph | 3 - .../Shaders/ParticleLitFlipbook.shadergraph | 3 - ...articleLitFlipbookCameraFading.shadergraph | 3 - ...leLitFlipbookCameraFading.shadergraph.meta | 10 - .../Shaders/ParticleLitSoft.shadergraph | 3 - .../Shaders/ParticleLitSoft.shadergraph.meta | 10 - .../Shaders/ParticleUnlit.shadergraph | 3 - .../Shaders/ParticleUnlit.shadergraph.meta | 10 - .../ParticleUnlitCameraFading.shadergraph | 3 - ...ParticleUnlitCameraFading.shadergraph.meta | 10 - .../ParticleUnlitDistortion.shadergraph | 3 - .../ParticleUnlitDistortion.shadergraph.meta | 10 - .../Shaders/ParticleUnlitFlipbook.shadergraph | 3 - .../ParticleUnlitFlipbook.shadergraph.meta | 10 - ...ticleUnlitFlipbookCameraFading.shadergraph | 3 - ...UnlitFlipbookCameraFading.shadergraph.meta | 10 - .../Shaders/ParticleUnlitSoft.shadergraph | 3 - .../ParticleUnlitSoft.shadergraph.meta | 10 - .../Textures/Flipbook.psd | 3 - .../Textures/Flipbook.psd.meta | 91 --- .../Textures/Unity-1200X630.png | 3 - .../Textures/Unity-1200X630.png.meta | 91 --- .../Textures/particle_normalmap.png | 3 - .../package.json | 5 - .../0_Particle Unlit.shadergraph | 4 +- .../Cross Pipeline/2_Particle Lit.shadergraph | 4 +- .../Particle Distortion.shadersubgraph | 4 +- .../Particle Vertex Color.shadersubgraph | 4 +- .../ParticleFlipbookBlending.shadersubgraph | 4 +- ...rticleFlipbookBlending.shadersubgraph.meta | 2 +- ...icleFlipbookBlending_legacy.shadersubgraph | 3 + ...ipbookBlending_legacy.shadersubgraph.meta} | 4 +- .../Samples~/ParticleShaders/.sample.json | 6 + .../HDRP_Particles_Shaders.unity | 3 + .../HDRP_Particles_Shaders.unity.meta} | 2 +- .../Samples~/ParticleShaders}/Materials.meta | 2 +- .../Materials/Camera Fading.mat | 78 +++ .../Materials/Camera Fading.mat.meta} | 4 +- .../ParticleShaders/Materials/Distortion.mat | 86 +++ .../Materials/Distortion.mat.meta} | 4 +- .../Materials/Flipbook Blending.mat | 67 +++ .../Materials/Flipbook Blending.mat.meta} | 4 +- .../Materials/Particle Age.mat | 82 +++ .../Materials/Particle Age.mat.meta} | 4 +- .../Materials/Soft Particles 1.mat | 77 +++ .../Materials/Soft Particles 1.mat.meta | 8 + .../Materials/Soft Particles.mat | 77 +++ .../Materials/Soft Particles.mat.meta | 8 + .../ParticleShadersDescriptions.json | 100 ++++ .../ParticleShadersDescriptions.json.meta | 7 + .../Samples~/ParticleShaders/Prefabs.meta} | 2 +- .../Prefabs/Camera Fading.prefab | 3 + .../Prefabs/Camera Fading.prefab.meta | 7 + .../ParticleShaders/Prefabs/Distortion.prefab | 3 + .../Prefabs/Distortion.prefab.meta | 7 + .../Prefabs/Flipbook Blending.prefab | 3 + .../Prefabs/Flipbook Blending.prefab.meta | 7 + .../Prefabs/Mesh Particles.prefab | 3 + .../Prefabs/Mesh Particles.prefab.meta | 7 + .../Prefabs/Particle Age.prefab | 3 + .../Prefabs/Particle Age.prefab.meta | 7 + .../Prefabs/Sample Stand.prefab | 3 + .../Prefabs/Sample Stand.prefab.meta | 7 + .../Prefabs/Soft Particles.prefab | 3 + .../Prefabs/Soft Particles.prefab.meta | 7 + .../TurntableWithBackdrop_Particles.prefab | 3 + ...urntableWithBackdrop_Particles.prefab.meta | 7 + .../Samples~/ParticleShaders/Settings.meta | 8 + .../Settings}/VolumeOverrides.asset | 77 ++- .../Settings}/VolumeOverrides.asset.meta | 2 +- .../ParticleShaders/Shader Graphs.meta | 8 + .../Shader Graphs/Camera Fading.shadergraph | 3 + .../Camera Fading.shadergraph.meta} | 2 +- .../Shader Graphs/CustomParticleData.hlsl | 36 ++ .../CustomParticleData.hlsl.meta | 7 + .../Shader Graphs/Distortion.shadergraph | 3 + .../Distortion.shadergraph.meta} | 2 +- .../Flipbook Blending.shadergraph | 3 + .../Flipbook Blending.shadergraph.meta | 20 + .../Shader Graphs/Particle Age.shadergraph | 3 + .../Particle Age.shadergraph.meta | 20 + .../Shader Graphs/Particle Lit.shadergraph | 3 + .../Particle Lit.shadergraph.meta | 20 + .../Shader Graphs/Particle Unlit.shadergraph | 3 + .../Particle Unlit.shadergraph.meta | 20 + .../Shader Graphs/Soft Particles.shadergraph | 3 + .../Soft Particles.shadergraph.meta} | 2 +- .../Samples~/ParticleShaders}/Textures.meta | 2 +- .../Textures/DistortionNoise.png | 3 + .../Textures/DistortionNoise.png.meta} | 40 +- .../URP_Particles_Shaders.unity | 3 + .../URP_Particles_Shaders.unity.meta | 7 + Packages/com.unity.shadergraph/package.json | 9 + 142 files changed, 1239 insertions(+), 5455 deletions(-) rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes.meta => com.unity.render-pipelines.core/Samples~/Common/Prefabs/UnityBall.meta} (77%) delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/.sample.json delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Background.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Blocker.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Lit.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitCameraFading.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitDistortion.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitDistortion.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbook.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbook.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbookCameraFading.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbookCameraFading.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitSoft.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitSoft.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Unlit.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Unlit.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitCameraFading.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitCameraFading.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitDistortion.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitDistortion.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbook.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbook.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbookCameraFading.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbookCameraFading.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitSoft.mat delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitSoft.mat.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/ParticleSystem RenderPipelineAsset.asset delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/ParticleSystem RenderPipelineAsset.asset.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes/ParticleShaderGraphsSampleScene.unity delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLit.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitCameraFading.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitDistortion.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbook.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbookCameraFading.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbookCameraFading.shadergraph.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitSoft.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitSoft.shadergraph.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlit.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlit.shadergraph.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitCameraFading.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitCameraFading.shadergraph.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitDistortion.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitDistortion.shadergraph.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbook.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbook.shadergraph.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbookCameraFading.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbookCameraFading.shadergraph.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitSoft.shadergraph delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitSoft.shadergraph.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Flipbook.psd delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Flipbook.psd.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Unity-1200X630.png delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Unity-1200X630.png.meta delete mode 100644 Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/particle_normalmap.png create mode 100644 Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending_legacy.shadersubgraph rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbook.shadergraph.meta => com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending_legacy.shadersubgraph.meta} (58%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/.sample.json create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/HDRP_Particles_Shaders.unity rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes/ParticleShaderGraphsSampleScene.unity.meta => com.unity.shadergraph/Samples~/ParticleShaders/HDRP_Particles_Shaders.unity.meta} (74%) rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples => com.unity.shadergraph/Samples~/ParticleShaders}/Materials.meta (77%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Camera Fading.mat rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Blocker.mat.meta => com.unity.shadergraph/Samples~/ParticleShaders/Materials/Camera Fading.mat.meta} (64%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Distortion.mat rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Lit.mat.meta => com.unity.shadergraph/Samples~/ParticleShaders/Materials/Distortion.mat.meta} (64%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Flipbook Blending.mat rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Background.mat.meta => com.unity.shadergraph/Samples~/ParticleShaders/Materials/Flipbook Blending.mat.meta} (64%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Particle Age.mat rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitCameraFading.mat.meta => com.unity.shadergraph/Samples~/ParticleShaders/Materials/Particle Age.mat.meta} (64%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles 1.mat create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles 1.mat.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles.mat create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles.mat.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/ParticleShadersDescriptions.json create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/ParticleShadersDescriptions.json.meta rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders.meta => com.unity.shadergraph/Samples~/ParticleShaders/Prefabs.meta} (77%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Camera Fading.prefab create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Camera Fading.prefab.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Distortion.prefab create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Distortion.prefab.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Flipbook Blending.prefab create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Flipbook Blending.prefab.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Mesh Particles.prefab create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Mesh Particles.prefab.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Particle Age.prefab create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Particle Age.prefab.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Sample Stand.prefab create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Sample Stand.prefab.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Soft Particles.prefab create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Soft Particles.prefab.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/TurntableWithBackdrop_Particles.prefab create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/TurntableWithBackdrop_Particles.prefab.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings.meta rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples => com.unity.shadergraph/Samples~/ParticleShaders/Settings}/VolumeOverrides.asset (74%) rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples => com.unity.shadergraph/Samples~/ParticleShaders/Settings}/VolumeOverrides.asset.meta (78%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Camera Fading.shadergraph rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLit.shadergraph.meta => com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Camera Fading.shadergraph.meta} (86%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/CustomParticleData.hlsl create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/CustomParticleData.hlsl.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Distortion.shadergraph rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitCameraFading.shadergraph.meta => com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Distortion.shadergraph.meta} (86%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Flipbook Blending.shadergraph create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Flipbook Blending.shadergraph.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Age.shadergraph create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Age.shadergraph.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Lit.shadergraph create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Lit.shadergraph.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Unlit.shadergraph create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Unlit.shadergraph.meta create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Soft Particles.shadergraph rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitDistortion.shadergraph.meta => com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Soft Particles.shadergraph.meta} (86%) rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples => com.unity.shadergraph/Samples~/ParticleShaders}/Textures.meta (77%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures/DistortionNoise.png rename Packages/{com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/particle_normalmap.png.meta => com.unity.shadergraph/Samples~/ParticleShaders/Textures/DistortionNoise.png.meta} (77%) create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/URP_Particles_Shaders.unity create mode 100644 Packages/com.unity.shadergraph/Samples~/ParticleShaders/URP_Particles_Shaders.unity.meta diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesFixtureEmissive.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesFixtureEmissive.mat index 49011fe68d5..6a24e310fb5 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesFixtureEmissive.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesFixtureEmissive.mat @@ -11,9 +11,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 55dd6397dd059324398dec8c06cb4153, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - m_InvalidKeywords: [] m_LightmapFlags: 2 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -112,6 +112,19 @@ Material: - _Emission_Color: {r: 1, g: 1, b: 1, a: 0} m_BuildTextureStacks: [] m_AllowLocking: 1 +--- !u!114 &1982492187942935330 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!114 &4129780837305980848 MonoBehaviour: m_ObjectHideFlags: 11 @@ -124,7 +137,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!114 &6988152796153263981 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesRoughBlack.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesRoughBlack.mat index 61333305889..9364660c66d 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesRoughBlack.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesRoughBlack.mat @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!114 &-5320171063680880354 MonoBehaviour: m_ObjectHideFlags: 11 @@ -29,6 +29,19 @@ MonoBehaviour: hdPluginSubTargetMaterialVersions: m_Keys: [] m_Values: +--- !u!114 &-4305508914585571932 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -40,9 +53,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 181d9f8961a46b84fa2b2acfc30cdf9c, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT + m_ValidKeywords: [] m_InvalidKeywords: + - _DISABLE_SSR_TRANSPARENT - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesSpotlightEmissive.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesSpotlightEmissive.mat index a4b8ca28b5f..9875b9dac52 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesSpotlightEmissive.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesSpotlightEmissive.mat @@ -11,9 +11,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 55dd6397dd059324398dec8c06cb4153, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - m_InvalidKeywords: [] m_LightmapFlags: 2 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -108,6 +108,20 @@ Material: - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - _Emission_Color: {r: 1, g: 1, b: 1, a: 0} m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &170641408352878112 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!114 &4129780837305980848 MonoBehaviour: m_ObjectHideFlags: 11 @@ -120,7 +134,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!114 &6988152796153263981 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesTurntable_White.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesTurntable_White.mat index 9b27195a0e7..b6dce194731 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesTurntable_White.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/SamplesTurntable_White.mat @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -24,9 +24,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: daae7dca060ff1344bf7d7e511e0e961, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - m_InvalidKeywords: [] m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -150,3 +150,16 @@ MonoBehaviour: hdPluginSubTargetMaterialVersions: m_Keys: [] m_Values: +--- !u!114 &9055644232738238393 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BackdropFabric.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BackdropFabric.mat index c63c69badd4..cb890d4f148 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BackdropFabric.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BackdropFabric.mat @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -24,10 +24,10 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 137a9d0b49032c544abaff345d2c4f5c, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - _DOUBLESIDED_ON - m_InvalidKeywords: - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -345,6 +345,19 @@ Material: - _uvThreadST: {r: 1, g: 1, b: 0, a: 0} m_BuildTextureStacks: [] m_AllowLocking: 1 +--- !u!114 &1749704653114364274 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!114 &6461052843977076103 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BackdropFabric_Red.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BackdropFabric_Red.mat index 1ba04ca52af..b9f76983eec 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BackdropFabric_Red.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BackdropFabric_Red.mat @@ -12,7 +12,20 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 +--- !u!114 &-164589849328637151 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -24,10 +37,10 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 137a9d0b49032c544abaff345d2c4f5c, type: 3} m_Parent: {fileID: 2100000, guid: 638589c7422aff14eaa79da6fad69c7c, type: 2} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - _DOUBLESIDED_ON - m_InvalidKeywords: - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -48,6 +61,7 @@ Material: m_Ints: [] m_Floats: - _Anisotropy: -0.5 + - _QueueControl: 1 - _Specular_A: 0.5 - _Specular_B: 0.5 m_Colors: diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BlackPaint.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BlackPaint.mat index 28b235dcd0c..2d9a7310120 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BlackPaint.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_BlackPaint.mat @@ -1,5 +1,18 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!114 &-9020551940540796551 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -11,9 +24,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 77a073c5851b973499ddf6de1a1c803f, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT + m_ValidKeywords: [] m_InvalidKeywords: + - _DISABLE_SSR_TRANSPARENT - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -331,7 +344,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!114 &8076905772522948068 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Checker.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Checker.mat index 0518854c4ad..dba84ecd288 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Checker.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Checker.mat @@ -1,5 +1,18 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!114 &-1009043395110934975 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -11,9 +24,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 12b97e20ea15a7844849d66169c21bed, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - m_InvalidKeywords: [] m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -149,4 +162,4 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Curtain.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Curtain.mat index bfd6c6ddf68..1de01ee74ca 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Curtain.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Curtain.mat @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -24,10 +24,10 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 137a9d0b49032c544abaff345d2c4f5c, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - _DOUBLESIDED_ON - m_InvalidKeywords: - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -343,6 +343,19 @@ Material: - _uvThreadST: {r: 1, g: 1, b: 0, a: 0} m_BuildTextureStacks: [] m_AllowLocking: 1 +--- !u!114 &6159856245181559215 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!114 &6461052843977076103 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Platform.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Platform.mat index e04531c8ae5..a5318e7fdcd 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Platform.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Platform.mat @@ -11,9 +11,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 77a073c5851b973499ddf6de1a1c803f, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT + m_ValidKeywords: [] m_InvalidKeywords: + - _DISABLE_SSR_TRANSPARENT - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -331,7 +331,20 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 +--- !u!114 &8075649353093229223 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!114 &8076905772522948068 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_RoughGrey.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_RoughGrey.mat index 071e86c7177..e4bd7f4994e 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_RoughGrey.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_RoughGrey.mat @@ -11,9 +11,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 181d9f8961a46b84fa2b2acfc30cdf9c, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT + m_ValidKeywords: [] m_InvalidKeywords: + - _DISABLE_SSR_TRANSPARENT - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -290,6 +290,19 @@ Material: - _UV_Tiling: {r: 1, g: 1, b: 0, a: 0} m_BuildTextureStacks: [] m_AllowLocking: 1 +--- !u!114 &4494905547222221995 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!114 &7902377284972801844 MonoBehaviour: m_ObjectHideFlags: 11 @@ -302,7 +315,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!114 &8076905772522948068 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_RoughSteel.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_RoughSteel.mat index c093e25801a..5bf79a13df9 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_RoughSteel.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_RoughSteel.mat @@ -1,5 +1,18 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!114 &-1647856418503066856 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -11,9 +24,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 181d9f8961a46b84fa2b2acfc30cdf9c, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT + m_ValidKeywords: [] m_InvalidKeywords: + - _DISABLE_SSR_TRANSPARENT - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -336,4 +349,4 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Tripod.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Tripod.mat index dd951ff5821..5c26c7ef0e2 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Tripod.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Samples_Tripod.mat @@ -11,9 +11,9 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: 77a073c5851b973499ddf6de1a1c803f, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT + m_ValidKeywords: [] m_InvalidKeywords: + - _DISABLE_SSR_TRANSPARENT - _NORMALMAP_TANGENT_SPACE m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -309,6 +309,20 @@ Material: - _UV_Offset: {r: 0, g: 0, b: 0, a: 0} - _UV_Tiling: {r: 1, g: 1, b: 0, a: 0} m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &7145514036984910855 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!114 &7902377284972801844 MonoBehaviour: m_ObjectHideFlags: 11 @@ -321,7 +335,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!114 &8076905772522948068 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_Black.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_Black.mat index 727a72170e3..70158f3d0fa 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_Black.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_Black.mat @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -21,13 +21,12 @@ Material: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Shader Graphs_MaterialBall_Black - m_Shader: {fileID: -6465566751694194690, guid: 72e3d8f059617ed48896674bd7da8778, - type: 3} + m_Shader: {fileID: -6465566751694194690, guid: 72e3d8f059617ed48896674bd7da8778, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - m_InvalidKeywords: [] m_LightmapFlags: 2 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_Gold.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_Gold.mat index b562958a60e..15499e57404 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_Gold.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_Gold.mat @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -21,13 +21,12 @@ Material: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Shader Graphs_MaterialBall_Gold - m_Shader: {fileID: -6465566751694194690, guid: 72e3d8f059617ed48896674bd7da8778, - type: 3} + m_Shader: {fileID: -6465566751694194690, guid: 72e3d8f059617ed48896674bd7da8778, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - m_InvalidKeywords: [] m_LightmapFlags: 2 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_White.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_White.mat index 9f8f8833661..927416c5172 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_White.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Materials/Shader Graphs_MaterialBall_White.mat @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -21,13 +21,12 @@ Material: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: Shader Graphs_MaterialBall_White - m_Shader: {fileID: -6465566751694194690, guid: 72e3d8f059617ed48896674bd7da8778, - type: 3} + m_Shader: {fileID: -6465566751694194690, guid: 72e3d8f059617ed48896674bd7da8778, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - m_InvalidKeywords: [] m_LightmapFlags: 2 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes.meta b/Packages/com.unity.render-pipelines.core/Samples~/Common/Prefabs/UnityBall.meta similarity index 77% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes.meta rename to Packages/com.unity.render-pipelines.core/Samples~/Common/Prefabs/UnityBall.meta index 73ed67636b8..dd59b4eaf14 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes.meta +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/Prefabs/UnityBall.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 1c652be8420debe4892702cafb6087e5 +guid: 93cb990e54315244cad92bf2a9db0d08 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Packages/com.unity.render-pipelines.core/Samples~/Common/TextMesh Pro/Resources/Fonts & Materials/Inter-Regular SDF Emissive Variant.mat b/Packages/com.unity.render-pipelines.core/Samples~/Common/TextMesh Pro/Resources/Fonts & Materials/Inter-Regular SDF Emissive Variant.mat index 44da1bdd10d..ca8147b0b70 100644 --- a/Packages/com.unity.render-pipelines.core/Samples~/Common/TextMesh Pro/Resources/Fonts & Materials/Inter-Regular SDF Emissive Variant.mat +++ b/Packages/com.unity.render-pipelines.core/Samples~/Common/TextMesh Pro/Resources/Fonts & Materials/Inter-Regular SDF Emissive Variant.mat @@ -1,5 +1,18 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!114 &-2337151810850559740 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 639247ca83abc874e893eb93af2b5e44, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.ShaderGraph.Editor::UnityEditor.Rendering.BuiltIn.AssetVersion + version: 0 --- !u!21 &2100000 Material: serializedVersion: 8 @@ -11,12 +24,12 @@ Material: m_Shader: {fileID: -6465566751694194690, guid: f8605069e61e60e4685c8e97ead17a56, type: 3} m_Parent: {fileID: -6055507529455485361, guid: 2f7116f10747a67409388e93052ae222, type: 2} m_ModifiedSerializedProperties: 2 - m_ValidKeywords: + m_ValidKeywords: [] + m_InvalidKeywords: - _DISABLE_SSR_TRANSPARENT - _DOUBLESIDED_ON - _ENABLE_FOG_ON_TRANSPARENT - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: [] m_LightmapFlags: 2 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 @@ -53,7 +66,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} m_Name: m_EditorClassIdentifier: - version: 9 + version: 10 --- !u!114 &6872997888534480524 MonoBehaviour: m_ObjectHideFlags: 11 diff --git a/Packages/com.unity.render-pipelines.core/ShaderLibrary/Particles.hlsl b/Packages/com.unity.render-pipelines.core/ShaderLibrary/Particles.hlsl index 0f5663384a4..b2abf67090e 100644 --- a/Packages/com.unity.render-pipelines.core/ShaderLibrary/Particles.hlsl +++ b/Packages/com.unity.render-pipelines.core/ShaderLibrary/Particles.hlsl @@ -81,7 +81,8 @@ void GetParticleTexcoords(out float2 outputTexcoord, out float3 outputTexcoord2A /// /// Core.Particles.GetParticleTexcoords -/// Particle Texcoords +/// Flipbook +/// Core.Particles.TexCoords, 10, Particle Texcoords, Mode /// VFX/Particles /// Texcoords /// Particle, Texcoords, UV @@ -103,9 +104,9 @@ void GetParticleTexcoords(out float2 outputTexcoord, in float2 inputTexcoord) /// /// Core.Particles.TexCoordsFlipbookBlending -/// Particle Texcoords & Blend +/// Flipbook Blending +/// Core.Particles.TexCoords /// VFX/Particles -/// Texcoords & Blend /// Particle, Flipbook, Texcoords, UV /// /// @@ -153,38 +154,4 @@ void GetParticleAnimFrame(inout float animFrame) #endif } -// Sample a texture and do blending for texture sheet animation if needed -/// -/// Core.Particles.BlendTexture -/// Particle Flipbook Blending -/// Color -/// VFX/Particles -/// Flipbook Blending -/// Particle, Blend -/// -/// -/// Texture -/// -/// -/// UV -/// -/// UV0 -/// -/// -/// Blend Vertex Stream -/// -UNITY_EXPORT_REFLECTION -half4 FlipBookBlendTexture(UnityTexture2D Tex, float2 inputTexcoord, float blend) -{ - float3 dummyTexcoord2AndBlend = 0.0; - float2 outputTexcoord; - GetParticleTexcoords(outputTexcoord, dummyTexcoord2AndBlend, inputTexcoord.xyxy, blend); - half4 color = half4(Tex.Sample(Tex.samplerstate, outputTexcoord)); -#ifdef _FLIPBOOKBLENDING_ON - half4 color2 = half4(Tex.Sample(Tex.samplerstate, dummyTexcoord2AndBlend.xy)); - color = lerp(color, color2, half(dummyTexcoord2AndBlend.z)); -#endif - return color; -} - #endif // CORE_PARTICLES_INCLUDED diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/.sample.json b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/.sample.json deleted file mode 100644 index 9f9e31d51f9..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/.sample.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "displayName":"Particle System Shader Samples", - "description": "Adds Particle System Shader samples to your project. Open the SampleScene to see examples of various lit and unlit particle effects.", - "createSeparatePackage": false -} \ No newline at end of file diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Background.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Background.mat deleted file mode 100644 index 9978939b2cc..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Background.mat +++ /dev/null @@ -1,342 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &-1742870726696197313 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} - m_Name: - m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion - version: 9 ---- !u!114 &-1676828898035709013 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Background - m_Shader: {fileID: -6465566751694194690, guid: a2407126e3372f64cacb75ed466a5621, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: [] - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: -1 - stringTagMap: {} - disabledShaderPasses: - - DistortionVectors - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - - TransparentBackface - - RayTracingPrepass - - ForwardEmissiveForDeferred - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 2800000, guid: 82b9a36d252f5e84b910da9686450ea4, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseMap: - m_Texture: {fileID: 2800000, guid: 82b9a36d252f5e84b910da9686450ea4, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: 82b9a36d252f5e84b910da9686450ea4, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 2800000, guid: dd2e21fb358baa649a7ad7d1d6e722f5, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmissionMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 0 - - _AlphaRemapMax: 1 - - _AlphaRemapMin: 0 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _BumpScale: 1 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 1 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 1 - - _DistortionDepthTest: 0 - - _DistortionDstBlend: 1 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 1 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 0 - - _DstBlend2: 0 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 1 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _ForceForwardEmissive: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 1 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _MaterialTypeMask: 2 - - _Metallic: 0 - - _MetallicRemapMax: 0 - - _MetallicRemapMin: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1.088 - - _ObjectSpaceUVMapping: 0 - - _ObjectSpaceUVMappingEmissive: 0 - - _OcclusionStrength: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _QueueControl: 0 - - _QueueOffset: 0 - - _RayTracing: 0 - - _ReceivesSSR: 1 - - _ReceivesSSRTransparent: 0 - - _RefractionModel: 0 - - _RenderQueueType: 1 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.576 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SpecularOcclusionMode: 1 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 8 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 10 - - _StencilRefMV: 40 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 9 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 15 - - _StencilWriteMaskMV: 41 - - _SubsurfaceMask: 1 - - _SupportDecals: 1 - - _SurfaceType: 0 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransmissionMask: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 3 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 1 - m_Colors: - - _BaseColor: {r: 0.72794116, g: 0.72794116, b: 0.72794116, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 0.72794116, g: 0.72794116, b: 0.72794116, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Blocker.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Blocker.mat deleted file mode 100644 index 01657af3620..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Blocker.mat +++ /dev/null @@ -1,342 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Blocker - m_Shader: {fileID: -6465566751694194690, guid: a2407126e3372f64cacb75ed466a5621, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: [] - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: -1 - stringTagMap: {} - disabledShaderPasses: - - DistortionVectors - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - - TransparentBackface - - RayTracingPrepass - - ForwardEmissiveForDeferred - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 2800000, guid: dd2e21fb358baa649a7ad7d1d6e722f5, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmissionMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 0 - - _AlphaRemapMax: 1 - - _AlphaRemapMin: 0 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _BumpScale: 1 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 1 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 1 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 1 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 1 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 0 - - _DstBlend2: 0 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 1 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _ForceForwardEmissive: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _MaterialTypeMask: 2 - - _Metallic: 0 - - _MetallicRemapMax: 0 - - _MetallicRemapMin: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _ObjectSpaceUVMapping: 0 - - _ObjectSpaceUVMappingEmissive: 0 - - _OcclusionStrength: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _QueueControl: 0 - - _QueueOffset: 0 - - _RayTracing: 0 - - _ReceivesSSR: 1 - - _ReceivesSSRTransparent: 0 - - _RefractionModel: 0 - - _RenderQueueType: 1 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SpecularOcclusionMode: 1 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 8 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 10 - - _StencilRefMV: 40 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 9 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 15 - - _StencilWriteMaskMV: 41 - - _SubsurfaceMask: 1 - - _SupportDecals: 1 - - _SurfaceType: 0 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransmissionMask: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 3 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 4 - - _ZTestTransparent: 4 - - _ZWrite: 1 - m_Colors: - - _BaseColor: {r: 0.1792453, g: 0.1792453, b: 0.1792453, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 0.17924526, g: 0.17924526, b: 0.17924526, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &1792761406252724072 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: ---- !u!114 &5439616685985162645 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} - m_Name: - m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion - version: 9 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Lit.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Lit.mat deleted file mode 100644 index dcda5b87769..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Lit.mat +++ /dev/null @@ -1,309 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Lit - m_Shader: {fileID: -6465566751694194690, guid: 6fabb132d3e307c4c97becb08f822dbf, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - - RayTracingPrepass - - ForwardEmissiveForDeferred - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 10307, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _DstBlend2: 0 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 0 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _ForceForwardEmissive: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _MaterialTypeMask: 2 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _RayTracing: 0 - - _ReceivesSSR: 1 - - _ReceivesSSRTransparent: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 0 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 32 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 8 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 40 - - _SubsurfaceMask: 1 - - _SupportDecals: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &5208856917876274508 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitCameraFading.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitCameraFading.mat deleted file mode 100644 index 1c8e0d453f8..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitCameraFading.mat +++ /dev/null @@ -1,305 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: LitCameraFading - m_Shader: {fileID: -6465566751694194690, guid: 999e9a6a32748e649802372a36c3ab34, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - - RayTracingPrepass - - ForwardEmissiveForDeferred - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 10307, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 0 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ForceForwardEmissive: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _RayTracing: 0 - - _ReceivesSSR: 1 - - _ReceivesSSRTransparent: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 0 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 32 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 8 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 40 - - _SubsurfaceMask: 1 - - _SupportDecals: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - Vector2_D0C9AA28: {r: 70, g: 90, b: 0, a: 0} - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &8817897029447308795 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitDistortion.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitDistortion.mat deleted file mode 100644 index 201b6a638ef..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitDistortion.mat +++ /dev/null @@ -1,316 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &-6243867355778828093 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: LitDistortion - m_Shader: {fileID: -6465566751694194690, guid: 2bec6c6e24499314b9d7a91e2e69178f, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - - RayTracingPrepass - - ForwardEmissiveForDeferred - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 10307, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - Texture2D_929B7DC3: - m_Texture: {fileID: 2800000, guid: 1518ae1992671ad45b09d3b59ee04b3f, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - Texture2D_D1349F11: - m_Texture: {fileID: 2800000, guid: fcecce6d2c9be8d418a27f0658a2210d, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - Vector1_4664B72E: 0.2 - - Vector1_5553DC64: 0.07 - - Vector1_A5F6650B: 0.336 - - Vector1_CB02A382: 0.095 - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 0 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ForceForwardEmissive: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _RayTracing: 0 - - _ReceivesSSR: 1 - - _ReceivesSSRTransparent: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 0 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 32 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 8 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 40 - - _SubsurfaceMask: 1 - - _SupportDecals: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitDistortion.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitDistortion.mat.meta deleted file mode 100644 index 62d227d7b45..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitDistortion.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9d5fe5d2c94448b4899707b8679fbd4b -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbook.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbook.mat deleted file mode 100644 index aa49ca20e52..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbook.mat +++ /dev/null @@ -1,304 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: LitFlipbook - m_Shader: {fileID: -6465566751694194690, guid: 8de8ce5257c2d2b4d9cabbce06c7b608, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - - RayTracingPrepass - - ForwardEmissiveForDeferred - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 2800000, guid: 718228fcd21578a46810cbaaad6b7f7b, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 0 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ForceForwardEmissive: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _RayTracing: 0 - - _ReceivesSSR: 1 - - _ReceivesSSRTransparent: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 0 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 32 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 8 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 40 - - _SubsurfaceMask: 1 - - _SupportDecals: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &6371018977168027889 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbook.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbook.mat.meta deleted file mode 100644 index 06c8ffe8b11..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbook.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1fae305912f06d9448ecdd2499acfc70 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbookCameraFading.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbookCameraFading.mat deleted file mode 100644 index 6b0503971b7..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbookCameraFading.mat +++ /dev/null @@ -1,305 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &-5463119461295931484 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: LitFlipbookCameraFading - m_Shader: {fileID: -6465566751694194690, guid: 2f967a2fb532dab47b7aa2adfec11422, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - - RayTracingPrepass - - ForwardEmissiveForDeferred - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 2800000, guid: 718228fcd21578a46810cbaaad6b7f7b, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 0 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ForceForwardEmissive: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _RayTracing: 0 - - _ReceivesSSR: 1 - - _ReceivesSSRTransparent: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 0 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 32 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 8 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 40 - - _SubsurfaceMask: 1 - - _SupportDecals: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - Vector2_68AEF8B5: {r: 70, g: 90, b: 0, a: 0} - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbookCameraFading.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbookCameraFading.mat.meta deleted file mode 100644 index 01af0b8c285..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitFlipbookCameraFading.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c10a64abdbf32b94b8ebed798bbc2969 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitSoft.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitSoft.mat deleted file mode 100644 index 427e52265e2..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitSoft.mat +++ /dev/null @@ -1,310 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &-7226097369955247806 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: LitSoft - m_Shader: {fileID: -6465566751694194690, guid: 4c6361cb5d4144944a9f857229576f4c, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _DISABLE_SSR_TRANSPARENT - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: [] - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - - RayTracingPrepass - - ForwardEmissiveForDeferred - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 10910, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - Texture2D_8FEEBB68: - m_Texture: {fileID: 10910, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 0 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ForceForwardEmissive: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _RayTracing: 0 - - _ReceivesSSR: 1 - - _ReceivesSSRTransparent: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 0 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 32 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 8 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 40 - - _SubsurfaceMask: 1 - - _SupportDecals: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - Vector2_3782A8B8: {r: 7, g: 12, b: 0, a: 0} - - Vector2_4F8D01F9: {r: 7, g: 12, b: 0, a: 0} - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitSoft.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitSoft.mat.meta deleted file mode 100644 index b5566a87649..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitSoft.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a40a9247d1320754c9323ce3e27593c7 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Unlit.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Unlit.mat deleted file mode 100644 index da774d8d36e..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Unlit.mat +++ /dev/null @@ -1,302 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Unlit - m_Shader: {fileID: -6465566751694194690, guid: ddf0c0e603eae9b429928da8cc3b814f, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: - - _BLENDMODE_ALPHA - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 10307, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _DstBlend2: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 1 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _ReceivesSSR: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 1 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 33 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 9 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 43 - - _SubsurfaceMask: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &2526857487445996698 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Unlit.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Unlit.mat.meta deleted file mode 100644 index 3dc1dea4b9c..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Unlit.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d2f78de628d90b64ab837cc6d83250ec -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitCameraFading.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitCameraFading.mat deleted file mode 100644 index 61352f5c92e..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitCameraFading.mat +++ /dev/null @@ -1,303 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UnlitCameraFading - m_Shader: {fileID: -6465566751694194690, guid: c2b394c8a48c1b64cb9f454b0efbba04, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: - - _BLENDMODE_ALPHA - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 10307, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _DstBlend2: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 1 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _ReceivesSSR: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 1 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 33 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 9 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 43 - - _SubsurfaceMask: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - Vector2_D0C9AA28: {r: 70, g: 90, b: 0, a: 0} - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &1808939453017161583 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitCameraFading.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitCameraFading.mat.meta deleted file mode 100644 index 03b733fa228..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitCameraFading.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 564f0702c4ad19c4589fca79f0489f6c -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitDistortion.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitDistortion.mat deleted file mode 100644 index e23b14c03dd..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitDistortion.mat +++ /dev/null @@ -1,308 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UnlitDistortion - m_Shader: {fileID: -6465566751694194690, guid: 6b93e3d6d8a4e2d43854c02033c9f7b4, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: - - _BLENDMODE_ALPHA - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 10307, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - Texture2D_D1349F11: - m_Texture: {fileID: 2800000, guid: 1518ae1992671ad45b09d3b59ee04b3f, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - Vector1_4664B72E: 0.07 - - Vector1_CB02A382: 0.336 - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _DstBlend2: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 1 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _ReceivesSSR: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 1 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 33 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 9 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 43 - - _SubsurfaceMask: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 1 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 1 - m_Colors: - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &7202321383416439055 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitDistortion.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitDistortion.mat.meta deleted file mode 100644 index 0faa746e47c..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitDistortion.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ea662ecdda147bc42ba22ba921a37f4c -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbook.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbook.mat deleted file mode 100644 index edbb624e7fa..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbook.mat +++ /dev/null @@ -1,302 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UnlitFlipbook - m_Shader: {fileID: -6465566751694194690, guid: e4fb8508536c9d84cbc541955739557b, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: - - _BLENDMODE_ALPHA - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 2800000, guid: 718228fcd21578a46810cbaaad6b7f7b, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _DstBlend2: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 1 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _ReceivesSSR: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 1 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 33 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 9 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 43 - - _SubsurfaceMask: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &7193599388882549696 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbook.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbook.mat.meta deleted file mode 100644 index 0dad23f4d92..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbook.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ab7219c13d3fdb34eb47c6dab4eab0fc -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbookCameraFading.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbookCameraFading.mat deleted file mode 100644 index 00791131a5a..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbookCameraFading.mat +++ /dev/null @@ -1,303 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UnlitFlipbookCameraFading - m_Shader: {fileID: -6465566751694194690, guid: f960fb491dd48f34e961ed0453217b35, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: - - _BLENDMODE_ALPHA - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 2800000, guid: 718228fcd21578a46810cbaaad6b7f7b, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _DstBlend2: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 1 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _ReceivesSSR: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 1 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 33 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 9 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 43 - - _SubsurfaceMask: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - Vector2_68AEF8B5: {r: 70, g: 90, b: 0, a: 0} - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &1912457855555408207 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbookCameraFading.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbookCameraFading.mat.meta deleted file mode 100644 index fe744a5fedf..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitFlipbookCameraFading.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 65d4d6314ac9e71418ad88095176b162 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitSoft.mat b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitSoft.mat deleted file mode 100644 index 9f7565bdc61..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitSoft.mat +++ /dev/null @@ -1,307 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &-7332901514967771685 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 13 - hdPluginSubTargetMaterialVersions: - m_Keys: [] - m_Values: ---- !u!21 &2100000 -Material: - serializedVersion: 8 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UnlitSoft - m_Shader: {fileID: -6465566751694194690, guid: c3a61f64d7d331841869d2f76d090226, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _ENABLE_FOG_ON_TRANSPARENT - - _SURFACE_TYPE_TRANSPARENT - m_InvalidKeywords: - - _BLENDMODE_ALPHA - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 - stringTagMap: - MotionVector: User - RenderType: Transparent - disabledShaderPasses: - - TransparentBackface - - MOTIONVECTORS - - TransparentDepthPrepass - - TransparentDepthPostpass - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - Texture2D_23DD87FD: - m_Texture: {fileID: 10307, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - Texture2D_8FEEBB68: - m_Texture: {fileID: 10910, guid: 0000000000000000f000000000000000, type: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _AnisotropyMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BaseColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _BentNormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _CoatMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DistortionVectorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissiveColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _HeightMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _IridescenceThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SpecularColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _SubsurfaceMaskMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TangentMapOS: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ThicknessMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TransmittanceColorMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AORemapMax: 1 - - _AORemapMin: 0 - - _ATDistance: 1 - - _AddPrecomputedVelocity: 0 - - _AddVelocityChange: 0 - - _AlbedoAffectEmissive: 0 - - _AlphaCutoff: 0.5 - - _AlphaCutoffEnable: 0 - - _AlphaCutoffPostpass: 0.5 - - _AlphaCutoffPrepass: 0.5 - - _AlphaCutoffShadow: 0.5 - - _AlphaDstBlend: 10 - - _AlphaSrcBlend: 1 - - _AlphaToMask: 0 - - _AlphaToMaskInspectorValue: 0 - - _Anisotropy: 0 - - _BlendMode: 0 - - _CoatMask: 0 - - _ConservativeDepthOffsetEnable: 0 - - _CullMode: 2 - - _CullModeForward: 2 - - _Cutoff: 0.5 - - _DepthOffsetEnable: 0 - - _DetailAlbedoScale: 1 - - _DetailNormalScale: 1 - - _DetailSmoothnessScale: 1 - - _DiffusionProfile: 0 - - _DiffusionProfileHash: 0 - - _DisplacementLockObjectScale: 1 - - _DisplacementLockTilingScale: 1 - - _DisplacementMode: 0 - - _DistortionBlendMode: 0 - - _DistortionBlurBlendMode: 0 - - _DistortionBlurDstBlend: 0 - - _DistortionBlurRemapMax: 1 - - _DistortionBlurRemapMin: 0 - - _DistortionBlurScale: 1 - - _DistortionBlurSrcBlend: 0 - - _DistortionDepthTest: 1 - - _DistortionDstBlend: 0 - - _DistortionEnable: 0 - - _DistortionScale: 1 - - _DistortionSrcBlend: 0 - - _DistortionVectorBias: -1 - - _DistortionVectorScale: 2 - - _DoubleSidedEnable: 0 - - _DoubleSidedGIMode: 0 - - _DoubleSidedNormalMode: 1 - - _DstBlend: 10 - - _DstBlend2: 10 - - _EmissiveColorMode: 1 - - _EmissiveExposureWeight: 1 - - _EmissiveIntensity: 1 - - _EmissiveIntensityUnit: 0 - - _EnableBlendModePreserveSpecularLighting: 1 - - _EnableFogOnTransparent: 1 - - _EnableGeometricSpecularAA: 0 - - _EnableSpecularOcclusion: 0 - - _EnergyConservingSpecularColor: 1 - - _ExcludeFromTUAndAA: 0 - - _HdrpVersion: 2 - - _HeightAmplitude: 0.02 - - _HeightCenter: 0.5 - - _HeightMapParametrization: 0 - - _HeightMax: 1 - - _HeightMin: -1 - - _HeightOffset: 0 - - _HeightPoMAmplitude: 2 - - _HeightTessAmplitude: 2 - - _HeightTessCenter: 0.5 - - _InvTilingScale: 1 - - _Ior: 1 - - _IridescenceMask: 1 - - _IridescenceThickness: 1 - - _LinkDetailsWithBase: 1 - - _MaterialID: 1 - - _Metallic: 0 - - _NormalMapSpace: 0 - - _NormalScale: 1 - - _OpaqueCullMode: 2 - - _PPDLodThreshold: 5 - - _PPDMaxSamples: 15 - - _PPDMinSamples: 5 - - _PPDPrimitiveLength: 1 - - _PPDPrimitiveWidth: 1 - - _PerPixelSorting: 0 - - _ReceivesSSR: 0 - - _RefractionModel: 0 - - _RenderQueueType: 4 - - _RequireSplitLighting: 0 - - _SSRefractionProjectionModel: 0 - - _Smoothness: 0.5 - - _SmoothnessRemapMax: 1 - - _SmoothnessRemapMin: 0 - - _SpecularAAScreenSpaceVariance: 0.1 - - _SpecularAAThreshold: 0.2 - - _SrcBlend: 1 - - _StencilRef: 0 - - _StencilRefDepth: 1 - - _StencilRefDistortionVec: 4 - - _StencilRefGBuffer: 2 - - _StencilRefMV: 33 - - _StencilWriteMask: 6 - - _StencilWriteMaskDepth: 9 - - _StencilWriteMaskDistortionVec: 4 - - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 43 - - _SubsurfaceMask: 1 - - _SurfaceType: 1 - - _TexWorldScale: 1 - - _TexWorldScaleEmissive: 1 - - _Thickness: 1 - - _ThicknessMultiplier: 1 - - _TransmissionEnable: 1 - - _TransparentBackfaceEnable: 0 - - _TransparentCullMode: 2 - - _TransparentDepthPostpassEnable: 0 - - _TransparentDepthPrepassEnable: 0 - - _TransparentSortPriority: 0 - - _TransparentWritingMotionVec: 0 - - _TransparentZWrite: 0 - - _UVBase: 0 - - _UVDetail: 0 - - _UVEmissive: 0 - - _UseEmissiveIntensity: 0 - - _UseShadowThreshold: 0 - - _ZTestDepthEqualForOpaque: 4 - - _ZTestGBuffer: 4 - - _ZTestModeDistortion: 8 - - _ZTestTransparent: 4 - - _ZWrite: 0 - m_Colors: - - Vector2_4F8D01F9: {r: 7, g: 12, b: 0, a: 0} - - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - - _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} - - _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} - - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} - - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} - - _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} - - _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} - - _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} - - _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} - - _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} - - _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} - m_BuildTextureStacks: [] - m_AllowLocking: 1 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitSoft.mat.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitSoft.mat.meta deleted file mode 100644 index 13a610eb4f0..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/UnlitSoft.mat.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8dea6169271fa3045a47215845841c85 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/ParticleSystem RenderPipelineAsset.asset b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/ParticleSystem RenderPipelineAsset.asset deleted file mode 100644 index 589d2288182..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/ParticleSystem RenderPipelineAsset.asset +++ /dev/null @@ -1,550 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3} - m_Name: ParticleSystem RenderPipelineAsset - m_EditorClassIdentifier: - m_RenderPipelineSettings: - supportShadowMask: 1 - supportSSR: 0 - supportSSRTransparent: 0 - supportSSAO: 1 - supportSSGI: 0 - supportSubsurfaceScattering: 1 - subsurfaceScatteringAttenuation: 1 - sssSampleBudget: - m_Values: 140000002800000050000000 - m_SchemaId: - m_Id: With3Levels - sssDownsampleSteps: - m_Values: 000000000000000000000000 - m_SchemaId: - m_Id: With3Levels - supportVolumetrics: 1 - supportVolumetricClouds: 0 - supportLightLayers: 0 - renderingLayerMaskBuffer: 0 - supportWater: 0 - waterSimulationResolution: 128 - supportWaterExclusion: 1 - supportWaterHorizontalDeformation: 0 - supportWaterDecals: 1 - waterDecalAtlasSize: 1024 - maximumWaterDecalCount: 48 - waterScriptInteractionsMode: 0 - waterFullCPUSimulation: 0 - supportComputeThickness: 0 - computeThicknessResolution: 1 - computeThicknessLayerMask: - serializedVersion: 2 - m_Bits: 0 - supportDistortion: 1 - supportTransparentBackface: 1 - supportTransparentDepthPrepass: 1 - supportTransparentDepthPostpass: 1 - colorBufferFormat: 74 - supportCustomPass: 1 - supportVariableRateShading: 1 - customBufferFormat: 12 - supportedLitShaderMode: 2 - planarReflectionResolution: - m_Values: 000100000004000000080000 - m_SchemaId: - m_Id: With3Levels - cubeReflectionResolution: - m_Values: 000100000002000000040000 - m_SchemaId: - m_Id: With3Levels - supportDecals: 1 - supportDecalLayers: 0 - supportSurfaceGradient: 0 - decalNormalBufferHP: 0 - supportHighQualityLineRendering: 0 - highQualityLineRenderingMemoryBudget: 128 - msaaSampleCount: 1 - supportMotionVectors: 1 - supportScreenSpaceLensFlare: 1 - supportDataDrivenLensFlare: 1 - supportDitheringCrossFade: 1 - supportRuntimeAOVAPI: 0 - supportTerrainHole: 0 - lightProbeSystem: 0 - oldLightProbeSystem: 0 - probeVolumeMemoryBudget: 1024 - supportProbeVolumeGPUStreaming: 0 - supportProbeVolumeDiskStreaming: 0 - probeVolumeSHBands: 1 - supportProbeVolumeScenarios: 0 - supportProbeVolumeScenarioBlending: 1 - probeVolumeBlendingMemoryBudget: 128 - supportRayTracing: 0 - supportVFXRayTracing: 0 - supportedRayTracingMode: 3 - lightLoopSettings: - cookieAtlasSize: 512 - cookieFormat: 74 - cookieAtlasLastValidMip: 0 - cookieTexArraySize: 16 - planarReflectionAtlasSize: 4096 - reflectionProbeCacheSize: 64 - reflectionCubemapSize: 256 - maxEnvLightsOnScreen: 64 - reflectionCacheCompressed: 0 - reflectionProbeFormat: 74 - reflectionProbeTexCacheSize: 1073750016 - reflectionProbeTexLastValidCubeMip: 3 - reflectionProbeTexLastValidPlanarMip: 0 - reflectionProbeDecreaseResToFit: 1 - skyReflectionSize: 256 - skyLightingOverrideLayerMask: - serializedVersion: 2 - m_Bits: 0 - supportFabricConvolution: 0 - maxDirectionalLightsOnScreen: 16 - maxPunctualLightsOnScreen: 512 - maxAreaLightsOnScreen: 64 - maxCubeReflectionOnScreen: 64 - maxPlanarReflectionOnScreen: 16 - maxDecalsOnScreen: 512 - maxLightsPerClusterCell: 8 - maxLocalVolumetricFogSize: 32 - maxLocalVolumetricFogOnScreen: 64 - hdShadowInitParams: - maxShadowRequests: 128 - directionalShadowsDepthBits: 32 - punctualShadowFilteringQuality: 1 - directionalShadowFilteringQuality: 1 - areaShadowFilteringQuality: 0 - punctualLightShadowAtlas: - shadowAtlasResolution: 4096 - shadowAtlasDepthBits: 32 - useDynamicViewportRescale: 1 - areaLightShadowAtlas: - shadowAtlasResolution: 4096 - shadowAtlasDepthBits: 32 - useDynamicViewportRescale: 1 - cachedPunctualLightShadowAtlas: 2048 - cachedAreaLightShadowAtlas: 1024 - allowDirectionalMixedCachedShadows: 0 - shadowResolutionDirectional: - m_Values: 00010000000200000004000000000000 - m_SchemaId: - m_Id: With4Levels - shadowResolutionPunctual: - m_Values: 00010000000200000004000000000000 - m_SchemaId: - m_Id: With4Levels - shadowResolutionArea: - m_Values: 00010000000200000004000000000000 - m_SchemaId: - m_Id: With4Levels - maxDirectionalShadowMapResolution: 2048 - maxPunctualShadowMapResolution: 2048 - maxAreaShadowMapResolution: 2048 - supportScreenSpaceShadows: 0 - maxScreenSpaceShadowSlots: 4 - screenSpaceShadowBufferFormat: 48 - decalSettings: - drawDistance: 1000 - atlasWidth: 4096 - atlasHeight: 4096 - transparentTextureResolution: - m_Values: 000100000002000000040000 - m_SchemaId: - m_Id: With3Levels - perChannelMask: 0 - postProcessSettings: - m_LutSize: 32 - lutFormat: 48 - bufferFormat: 74 - dynamicResolutionSettings: - enabled: 0 - useMipBias: 0 - advancedUpscalersByPriority: - DLSSPerfQualitySetting: 0 - DLSSInjectionPoint: 0 - TAAUInjectionPoint: 0 - STPInjectionPoint: 0 - defaultInjectionPoint: 2 - DLSSUseOptimalSettings: 1 - DLSSSharpness: 0.5 - FSR2EnableSharpness: 0 - FSR2Sharpness: 0 - FSR2UseOptimalSettings: 0 - FSR2QualitySetting: 0 - FSR2InjectionPoint: 0 - fsrOverrideSharpness: 0 - fsrSharpness: 0.92 - maxPercentage: 100 - minPercentage: 100 - dynResType: 1 - upsampleFilter: 1 - forceResolution: 0 - forcedPercentage: 100 - lowResTransparencyMinimumThreshold: 0 - rayTracingHalfResThreshold: 50 - lowResSSGIMinimumThreshold: 0 - lowResVolumetricCloudsMinimumThreshold: 50 - enableDLSS: 0 - lowresTransparentSettings: - enabled: 1 - checkerboardDepthBuffer: 1 - upsampleType: 1 - xrSettings: - singlePass: 1 - occlusionMesh: 1 - cameraJitter: 0 - allowMotionBlur: 0 - postProcessQualitySettings: - NearBlurSampleCount: 030000000500000008000000 - NearBlurMaxRadius: - - 2 - - 4 - - 7 - FarBlurSampleCount: 04000000070000000e000000 - FarBlurMaxRadius: - - 5 - - 8 - - 13 - DoFResolution: 040000000200000001000000 - DoFHighQualityFiltering: 000101 - DoFPhysicallyBased: 000000 - AdaptiveSamplingWeight: - - 0.5 - - 0.75 - - 2 - LimitManualRangeNearBlur: 000000 - MotionBlurSampleCount: 04000000080000000c000000 - BloomRes: 040000000200000002000000 - BloomHighQualityFiltering: 000101 - BloomHighQualityPrefiltering: 000001 - ChromaticAberrationMaxSamples: 03000000060000000c000000 - lightSettings: - useContactShadow: - m_Values: 000000 - m_SchemaId: - m_Id: - maximumLODLevel: - m_Values: 000000000000000000000000 - m_SchemaId: - m_Id: With3Levels - lodBias: - m_Values: - - 1 - - 1 - - 1 - m_SchemaId: - m_Id: With3Levels - lightingQualitySettings: - AOStepCount: 040000000600000010000000 - AOFullRes: 000001 - AOMaximumRadiusPixels: 200000002800000050000000 - AOBilateralUpsample: 000101 - AODirectionCount: 010000000200000004000000 - ContactShadowSampleCount: 060000000a00000010000000 - SSRMaxRaySteps: 100000002000000040000000 - SSGIRaySteps: 200000004000000080000000 - SSGIDenoise: 010101 - SSGIHalfResDenoise: 010000 - SSGIDenoiserRadius: - - 0.75 - - 0.5 - - 0.5 - SSGISecondDenoise: 010101 - RTAORayLength: - - 0.5 - - 3 - - 20 - RTAOSampleCount: 010000000200000008000000 - RTAODenoise: 010101 - RTAODenoiserRadius: - - 0.25 - - 0.5 - - 0.65 - RTGIRayLength: - - 50 - - 50 - - 50 - RTGIFullResolution: 000001 - RTGIRaySteps: 200000003000000040000000 - RTGIDenoise: 010101 - RTGIHalfResDenoise: 010000 - RTGIDenoiserRadius: - - 0.75 - - 0.5 - - 0.25 - RTGISecondDenoise: 010101 - RTRMinSmoothness: - - 0.6 - - 0.4 - - 0 - RTRSmoothnessFadeStart: - - 0.7 - - 0.5 - - 0 - RTRRayLength: - - 50 - - 50 - - 50 - RTRFullResolution: 000001 - RTRRayMaxIterations: 200000003000000040000000 - RTRDenoise: 010101 - RTRDenoiserRadiusDimmer: - - 0.75 - - 0.75 - - 1 - RTRDenoiserAntiFlicker: - - 1 - - 1 - - 1 - Fog_ControlMode: 000000000000000000000000 - Fog_Budget: - - 0.166 - - 0.33 - - 0.666 - Fog_DepthRatio: - - 0.666 - - 0.666 - - 0.5 - gpuResidentDrawerSettings: - mode: 0 - smallMeshScreenPercentage: 0 - enableOcclusionCullingInCameras: 0 - useDepthPrepassForOccluders: 1 - m_ObsoleteLightLayerName0: Light Layer default - m_ObsoleteLightLayerName1: Light Layer 1 - m_ObsoleteLightLayerName2: Light Layer 2 - m_ObsoleteLightLayerName3: Light Layer 3 - m_ObsoleteLightLayerName4: Light Layer 4 - m_ObsoleteLightLayerName5: Light Layer 5 - m_ObsoleteLightLayerName6: Light Layer 6 - m_ObsoleteLightLayerName7: Light Layer 7 - m_ObsoleteDecalLayerName0: - m_ObsoleteDecalLayerName1: - m_ObsoleteDecalLayerName2: - m_ObsoleteDecalLayerName3: - m_ObsoleteDecalLayerName4: - m_ObsoleteDecalLayerName5: - m_ObsoleteDecalLayerName6: - m_ObsoleteDecalLayerName7: - m_ObsoleteSupportRuntimeDebugDisplay: 1 - allowShaderVariantStripping: 1 - enableSRPBatcher: 1 - availableMaterialQualityLevels: -1 - m_DefaultMaterialQualityLevel: 4 - diffusionProfileSettings: {fileID: 0} - m_VolumeProfile: {fileID: 0} - virtualTexturingSettings: - streamingCpuCacheSizeInMegaBytes: 256 - streamingMipPreloadTexturesPerFrame: 0 - streamingPreloadMipCount: 1 - streamingGpuCacheSettings: - - format: 0 - sizeInMegaBytes: 128 - m_UseRenderGraph: 1 - m_CompositorCustomVolumeComponentsList: - m_InjectionPoint: 1 - m_CustomPostProcessTypesAsString: [] - m_Version: 25 - m_ObsoleteFrameSettings: - overrides: 0 - enableShadow: 0 - enableContactShadows: 0 - enableShadowMask: 0 - enableSSR: 0 - enableSSAO: 0 - enableSubsurfaceScattering: 0 - enableTransmission: 0 - enableAtmosphericScattering: 0 - enableVolumetrics: 0 - enableReprojectionForVolumetrics: 0 - enableLightLayers: 0 - enableExposureControl: 1 - diffuseGlobalDimmer: 0 - specularGlobalDimmer: 0 - shaderLitMode: 0 - enableDepthPrepassWithDeferredRendering: 0 - enableTransparentPrepass: 0 - enableMotionVectors: 0 - enableObjectMotionVectors: 0 - enableDecals: 0 - enableRoughRefraction: 0 - enableTransparentPostpass: 0 - enableDistortion: 0 - enablePostprocess: 0 - enableOpaqueObjects: 0 - enableTransparentObjects: 0 - enableRealtimePlanarReflection: 0 - enableMSAA: 0 - enableAsyncCompute: 0 - runLightListAsync: 0 - runSSRAsync: 0 - runSSAOAsync: 0 - runContactShadowsAsync: 0 - runVolumeVoxelizationAsync: 0 - lightLoopSettings: - overrides: 0 - enableDeferredTileAndCluster: 0 - enableComputeLightEvaluation: 0 - enableComputeLightVariants: 0 - enableComputeMaterialVariants: 0 - enableFptlForForwardOpaque: 0 - enableBigTilePrepass: 0 - isFptlEnabled: 0 - m_ObsoleteBakedOrCustomReflectionFrameSettings: - overrides: 0 - enableShadow: 0 - enableContactShadows: 0 - enableShadowMask: 0 - enableSSR: 0 - enableSSAO: 0 - enableSubsurfaceScattering: 0 - enableTransmission: 0 - enableAtmosphericScattering: 0 - enableVolumetrics: 0 - enableReprojectionForVolumetrics: 0 - enableLightLayers: 0 - enableExposureControl: 1 - diffuseGlobalDimmer: 0 - specularGlobalDimmer: 0 - shaderLitMode: 0 - enableDepthPrepassWithDeferredRendering: 0 - enableTransparentPrepass: 0 - enableMotionVectors: 0 - enableObjectMotionVectors: 0 - enableDecals: 0 - enableRoughRefraction: 0 - enableTransparentPostpass: 0 - enableDistortion: 0 - enablePostprocess: 0 - enableOpaqueObjects: 0 - enableTransparentObjects: 0 - enableRealtimePlanarReflection: 0 - enableMSAA: 0 - enableAsyncCompute: 0 - runLightListAsync: 0 - runSSRAsync: 0 - runSSAOAsync: 0 - runContactShadowsAsync: 0 - runVolumeVoxelizationAsync: 0 - lightLoopSettings: - overrides: 0 - enableDeferredTileAndCluster: 0 - enableComputeLightEvaluation: 0 - enableComputeLightVariants: 0 - enableComputeMaterialVariants: 0 - enableFptlForForwardOpaque: 0 - enableBigTilePrepass: 0 - isFptlEnabled: 0 - m_ObsoleteRealtimeReflectionFrameSettings: - overrides: 0 - enableShadow: 0 - enableContactShadows: 0 - enableShadowMask: 0 - enableSSR: 0 - enableSSAO: 0 - enableSubsurfaceScattering: 0 - enableTransmission: 0 - enableAtmosphericScattering: 0 - enableVolumetrics: 0 - enableReprojectionForVolumetrics: 0 - enableLightLayers: 0 - enableExposureControl: 1 - diffuseGlobalDimmer: 0 - specularGlobalDimmer: 0 - shaderLitMode: 0 - enableDepthPrepassWithDeferredRendering: 0 - enableTransparentPrepass: 0 - enableMotionVectors: 0 - enableObjectMotionVectors: 0 - enableDecals: 0 - enableRoughRefraction: 0 - enableTransparentPostpass: 0 - enableDistortion: 0 - enablePostprocess: 0 - enableOpaqueObjects: 0 - enableTransparentObjects: 0 - enableRealtimePlanarReflection: 0 - enableMSAA: 0 - enableAsyncCompute: 0 - runLightListAsync: 0 - runSSRAsync: 0 - runSSAOAsync: 0 - runContactShadowsAsync: 0 - runVolumeVoxelizationAsync: 0 - lightLoopSettings: - overrides: 0 - enableDeferredTileAndCluster: 0 - enableComputeLightEvaluation: 0 - enableComputeLightVariants: 0 - enableComputeMaterialVariants: 0 - enableFptlForForwardOpaque: 0 - enableBigTilePrepass: 0 - isFptlEnabled: 0 - m_ObsoleteDefaultVolumeProfile: {fileID: 0} - m_ObsoleteDefaultLookDevProfile: {fileID: 0} - m_ObsoleteFrameSettingsMovedToDefaultSettings: - bitDatas: - data1: 140649441525597 - data2: 4539628425463136280 - lodBias: 1 - lodBiasMode: 0 - lodBiasQualityLevel: 0 - maximumLODLevel: 0 - maximumLODLevelMode: 0 - maximumLODLevelQualityLevel: 0 - sssQualityMode: 0 - sssQualityLevel: 0 - sssCustomSampleBudget: 20 - sssCustomDownsampleSteps: 0 - msaaMode: 0 - materialQuality: 0 - m_ObsoleteBakedOrCustomReflectionFrameSettingsMovedToDefaultSettings: - bitDatas: - data1: 135310787769117 - data2: 4539628424389459992 - lodBias: 1 - lodBiasMode: 0 - lodBiasQualityLevel: 0 - maximumLODLevel: 0 - maximumLODLevelMode: 0 - maximumLODLevelQualityLevel: 0 - sssQualityMode: 0 - sssQualityLevel: 0 - sssCustomSampleBudget: 20 - sssCustomDownsampleSteps: 0 - msaaMode: 0 - materialQuality: 0 - m_ObsoleteRealtimeReflectionFrameSettingsMovedToDefaultSettings: - bitDatas: - data1: 140060864290589 - data2: 4539628424389459992 - lodBias: 1 - lodBiasMode: 0 - lodBiasQualityLevel: 0 - maximumLODLevel: 0 - maximumLODLevelMode: 0 - maximumLODLevelQualityLevel: 0 - sssQualityMode: 0 - sssQualityLevel: 0 - sssCustomSampleBudget: 20 - sssCustomDownsampleSteps: 0 - msaaMode: 0 - materialQuality: 0 - m_ObsoleteBeforeTransparentCustomPostProcesses: [] - m_ObsoleteBeforePostProcessCustomPostProcesses: [] - m_ObsoleteAfterPostProcessCustomPostProcesses: [] - m_ObsoleteBeforeTAACustomPostProcesses: [] - m_ObsoleteShaderVariantLogLevel: 0 - m_ObsoleteLensAttenuation: 0 - m_ObsoleteDiffusionProfileSettingsList: [] - m_PrefilterUseLegacyLightmaps: 0 - m_PrefilterUseLightmapBicubicSampling: 0 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/ParticleSystem RenderPipelineAsset.asset.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/ParticleSystem RenderPipelineAsset.asset.meta deleted file mode 100644 index 89876f29308..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/ParticleSystem RenderPipelineAsset.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ef9ffe8c3380ceb41ae65ca74084c3d8 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes/ParticleShaderGraphsSampleScene.unity b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes/ParticleShaderGraphsSampleScene.unity deleted file mode 100644 index 0c1ebe4dcc6..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes/ParticleShaderGraphsSampleScene.unity +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:99e64504dff6720e15c6ad4194baf06671f4fedc6f7a76391b73f1ba3735b8d0 -size 1461560 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLit.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLit.shadergraph deleted file mode 100644 index 37a6de68349..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLit.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c72d2d5f3a04b4e686b1cd178b9d3abe98f5bdffded1e5a9694338ec8bc025d -size 39428 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitCameraFading.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitCameraFading.shadergraph deleted file mode 100644 index b2170605c5f..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitCameraFading.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f53a98ed20eee34ec962ede6734b53f4d2ba440544079563907c3bde32e223f9 -size 49146 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitDistortion.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitDistortion.shadergraph deleted file mode 100644 index c1d85d12435..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitDistortion.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eec794e5888bcd479d4f6fce78558c97627d06e127e38a8651a5726d128e2e9c -size 61124 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbook.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbook.shadergraph deleted file mode 100644 index dd4a61c4441..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbook.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:22d20469e54c23b4e8228deef2f28b01aeeb6340e4a23bf81bdd26f5f111cb7c -size 37013 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbookCameraFading.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbookCameraFading.shadergraph deleted file mode 100644 index 63aa1036ed1..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbookCameraFading.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f6b58d07cb81cba35daf5f8fabd2d8ab672ba211cce7b8c944881e18e15ffc0 -size 46677 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbookCameraFading.shadergraph.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbookCameraFading.shadergraph.meta deleted file mode 100644 index 0cbd605ea5c..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbookCameraFading.shadergraph.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 2f967a2fb532dab47b7aa2adfec11422 -ScriptedImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 2 - userData: - assetBundleName: - assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitSoft.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitSoft.shadergraph deleted file mode 100644 index c038e7ee853..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitSoft.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:145b9901f98126dfa80c57ed6a5e5de7d59e4d90ee3733379dd74ae08ac692f8 -size 49181 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitSoft.shadergraph.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitSoft.shadergraph.meta deleted file mode 100644 index b8aef906fa2..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitSoft.shadergraph.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 4c6361cb5d4144944a9f857229576f4c -ScriptedImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 2 - userData: - assetBundleName: - assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlit.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlit.shadergraph deleted file mode 100644 index e78ee30f655..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlit.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d62ad59d0e4b9432376e3ed5d2fba9dd7176f66d91dde23f7b013524bb9d4e9a -size 29177 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlit.shadergraph.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlit.shadergraph.meta deleted file mode 100644 index a1f630c808b..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlit.shadergraph.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ddf0c0e603eae9b429928da8cc3b814f -ScriptedImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 2 - userData: - assetBundleName: - assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitCameraFading.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitCameraFading.shadergraph deleted file mode 100644 index 8b18afb153f..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitCameraFading.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bd150a5b3ae6eed4af1ffc383ec3300fbd19f69d1a8fe9ccd8de785be026f334 -size 38886 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitCameraFading.shadergraph.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitCameraFading.shadergraph.meta deleted file mode 100644 index 57d093b857c..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitCameraFading.shadergraph.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: c2b394c8a48c1b64cb9f454b0efbba04 -ScriptedImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 2 - userData: - assetBundleName: - assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitDistortion.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitDistortion.shadergraph deleted file mode 100644 index 397bb457213..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitDistortion.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8e11adf0f45b3da63783090d89dfd678b75b581a297c852a6f057c1e355913e -size 52802 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitDistortion.shadergraph.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitDistortion.shadergraph.meta deleted file mode 100644 index b677d61413b..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitDistortion.shadergraph.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 6b93e3d6d8a4e2d43854c02033c9f7b4 -ScriptedImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 2 - userData: - assetBundleName: - assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbook.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbook.shadergraph deleted file mode 100644 index e0dfec129fc..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbook.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7c8fdb5c23f44d89feeb841b57aa44de4581ad50880dbddcc32f4e001c4430d -size 26681 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbook.shadergraph.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbook.shadergraph.meta deleted file mode 100644 index 7cc3006e29c..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbook.shadergraph.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e4fb8508536c9d84cbc541955739557b -ScriptedImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 2 - userData: - assetBundleName: - assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbookCameraFading.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbookCameraFading.shadergraph deleted file mode 100644 index e2f8fd30c96..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbookCameraFading.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:44035e008e364d9cfd2e75d8c4f7329bde11f5c1eaadfb56955fd3343a7790b2 -size 36395 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbookCameraFading.shadergraph.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbookCameraFading.shadergraph.meta deleted file mode 100644 index 49a1dfffbe3..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitFlipbookCameraFading.shadergraph.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f960fb491dd48f34e961ed0453217b35 -ScriptedImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 2 - userData: - assetBundleName: - assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitSoft.shadergraph b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitSoft.shadergraph deleted file mode 100644 index 16e64d3d5d4..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitSoft.shadergraph +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:685aaa67d027e137a5417d7a2d69ea58dec2835498fcee316805bc40ff672fb9 -size 38938 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitSoft.shadergraph.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitSoft.shadergraph.meta deleted file mode 100644 index 548d603963a..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleUnlitSoft.shadergraph.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: c3a61f64d7d331841869d2f76d090226 -ScriptedImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 2 - userData: - assetBundleName: - assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Flipbook.psd b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Flipbook.psd deleted file mode 100644 index c726615931a..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Flipbook.psd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2fe95ac0f163455dec46687b9e6f56834b110bba1d8f71c2dc995dfe16a8bd9 -size 25846 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Flipbook.psd.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Flipbook.psd.meta deleted file mode 100644 index 348c0b68a91..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Flipbook.psd.meta +++ /dev/null @@ -1,91 +0,0 @@ -fileFormatVersion: 2 -guid: 718228fcd21578a46810cbaaad6b7f7b -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 10 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Unity-1200X630.png b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Unity-1200X630.png deleted file mode 100644 index 9e8bea2e01b..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Unity-1200X630.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad8c2c366ecb9689ad31246d4d66bd55094ce5b6086891d7d116c08ae1e080c5 -size 39616 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Unity-1200X630.png.meta b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Unity-1200X630.png.meta deleted file mode 100644 index 7c2f18d3cd5..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/Unity-1200X630.png.meta +++ /dev/null @@ -1,91 +0,0 @@ -fileFormatVersion: 2 -guid: 82b9a36d252f5e84b910da9686450ea4 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 10 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/particle_normalmap.png b/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/particle_normalmap.png deleted file mode 100644 index 20b33cc5a72..00000000000 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/particle_normalmap.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3dee934044ce18a568f808f026640130b9fede30b2e1bebc9c65232fd05003c7 -size 179576 diff --git a/Packages/com.unity.render-pipelines.high-definition/package.json b/Packages/com.unity.render-pipelines.high-definition/package.json index 6cd927d2eb4..f2fb6f81390 100644 --- a/Packages/com.unity.render-pipelines.high-definition/package.json +++ b/Packages/com.unity.render-pipelines.high-definition/package.json @@ -32,11 +32,6 @@ "description": "Adds the deprecated procedural sky of HDRP.", "path": "Samples~/ProceduralSky" }, - { - "displayName": "Particle System Shader Samples", - "description": "Adds Particle System Shader samples to your project. Open the SampleScene to see examples of various lit and unlit particle effects.", - "path": "Samples~/ParticleSystemShaderSamples" - }, { "displayName": "Material Samples", "description": "Adds Material Samples to your project. Open the MaterialSamples scene to see examples of materials based on the lit shader with effects such as subsurface scattering, displacement, anisotropy and more. This scene requires Text Mesh Pro to render text explanations.", diff --git a/Packages/com.unity.shadergraph/GraphTemplates/Cross Pipeline/0_Particle Unlit.shadergraph b/Packages/com.unity.shadergraph/GraphTemplates/Cross Pipeline/0_Particle Unlit.shadergraph index eed86d579ee..56d6df86240 100644 --- a/Packages/com.unity.shadergraph/GraphTemplates/Cross Pipeline/0_Particle Unlit.shadergraph +++ b/Packages/com.unity.shadergraph/GraphTemplates/Cross Pipeline/0_Particle Unlit.shadergraph @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f54a2eab1ab6074636c9872402b64f1c503bf1b130dee21209869d52833beb7e -size 47608 +oid sha256:4f4dc0935986400727f2794a41e51323ebffc8dfcc3499fcef3e01029599fba0 +size 47811 diff --git a/Packages/com.unity.shadergraph/GraphTemplates/Cross Pipeline/2_Particle Lit.shadergraph b/Packages/com.unity.shadergraph/GraphTemplates/Cross Pipeline/2_Particle Lit.shadergraph index 3c045b8d37d..2a1133bbdcb 100644 --- a/Packages/com.unity.shadergraph/GraphTemplates/Cross Pipeline/2_Particle Lit.shadergraph +++ b/Packages/com.unity.shadergraph/GraphTemplates/Cross Pipeline/2_Particle Lit.shadergraph @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d403d87a3f9718aa909ff56061f1adc0ab6be02880de8b31fb2de6c5468ced94 -size 105674 +oid sha256:8f63245cb29619173ef5f3ef275f21394a334d8ce877d6e6a4d92b130af0f1ec +size 105293 diff --git a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/Particle Distortion.shadersubgraph b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/Particle Distortion.shadersubgraph index fa1b7d37dbb..d54d54b6855 100644 --- a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/Particle Distortion.shadersubgraph +++ b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/Particle Distortion.shadersubgraph @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:658cd496e10a439ee85393e636def75e0f7e5a1f7176615793ad601e65825907 -size 49721 +oid sha256:44fb1dd6ea31a6f5022d6ec5cb6557910ae3fd705559cda29ac5a2dfae0d6c4c +size 60686 diff --git a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/Particle Vertex Color.shadersubgraph b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/Particle Vertex Color.shadersubgraph index 46f9654af8d..a68375c76ae 100644 --- a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/Particle Vertex Color.shadersubgraph +++ b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/Particle Vertex Color.shadersubgraph @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:15bfb077f8a251def4b3da05a237f8adbc7085def770ef9997a743267f36fe6e -size 19017 +oid sha256:6e7cf01ba6c838b910372caabd458929e8c3316cbf1a9a60e74c1d98df490dc0 +size 19015 diff --git a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending.shadersubgraph b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending.shadersubgraph index b25ce9c227a..5ed6264516d 100644 --- a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending.shadersubgraph +++ b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending.shadersubgraph @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ee320504259fc67b43284aef1e4624582e869f2c3b27aeeaccde80c38897babb -size 35875 +oid sha256:a587d99cff6345e3ffd1f617a520c11643f3a0baf40f21e4c35d5d1f336581b3 +size 39771 diff --git a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending.shadersubgraph.meta b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending.shadersubgraph.meta index 245fac21895..3a096532b3f 100644 --- a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending.shadersubgraph.meta +++ b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending.shadersubgraph.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: ea87914f38f4183408f6ec6cb547ed94 +guid: 6e5f9c53c3be7aa4c9119a496d540913 ScriptedImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending_legacy.shadersubgraph b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending_legacy.shadersubgraph new file mode 100644 index 00000000000..b968b092c4e --- /dev/null +++ b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending_legacy.shadersubgraph @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:679c69eba25c9afcb1b8927b4b146ba64e8bdca30019a6cd1557af6bdc1cbd61 +size 36669 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbook.shadergraph.meta b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending_legacy.shadersubgraph.meta similarity index 58% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbook.shadergraph.meta rename to Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending_legacy.shadersubgraph.meta index a3641625037..245fac21895 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitFlipbook.shadergraph.meta +++ b/Packages/com.unity.shadergraph/GraphTemplates/Subgraphs/ParticleFlipbookBlending_legacy.shadersubgraph.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 8de8ce5257c2d2b4d9cabbce06c7b608 +guid: ea87914f38f4183408f6ec6cb547ed94 ScriptedImporter: internalIDToNameTable: [] externalObjects: {} @@ -7,4 +7,4 @@ ScriptedImporter: userData: assetBundleName: assetBundleVariant: - script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} + script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3} diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/.sample.json b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/.sample.json new file mode 100644 index 00000000000..e8fed131e67 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/.sample.json @@ -0,0 +1,6 @@ +{ + "displayName": "Particle Shaders", + "interactiveImport": "false", + "description": "This sample helps you create customized shaders for your Particle Systems.", + "createSeparatePackage": true +} diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/HDRP_Particles_Shaders.unity b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/HDRP_Particles_Shaders.unity new file mode 100644 index 00000000000..606745f8d7e --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/HDRP_Particles_Shaders.unity @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:792995ffca5c8e71883db0014131a6ed4d909d3096d7e171c87f73f86b505cad +size 49048 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes/ParticleShaderGraphsSampleScene.unity.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/HDRP_Particles_Shaders.unity.meta similarity index 74% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes/ParticleShaderGraphsSampleScene.unity.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/HDRP_Particles_Shaders.unity.meta index 2a241ca1b27..0916352dbe0 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Scenes/ParticleShaderGraphsSampleScene.unity.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/HDRP_Particles_Shaders.unity.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 7ab754d4890331d4080f8be2959fa0f5 +guid: ae90b91e25ee32947af40ae8365276be DefaultImporter: externalObjects: {} userData: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials.meta similarity index 77% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials.meta index 604adeadf71..a1193ec9de1 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 944b1c6d4f6829c4d8ee768440bd97d2 +guid: 318ccd2112adae34080c1ad512146ed8 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Camera Fading.mat b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Camera Fading.mat new file mode 100644 index 00000000000..fe05b32a268 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Camera Fading.mat @@ -0,0 +1,78 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-7915906176450081223 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Camera Fading + m_Shader: {fileID: -6465566751694194690, guid: 849d1f5f942b50240bfd33676ac95dad, type: 3} + m_Parent: {fileID: -876546973899608171, guid: 849d1f5f942b50240bfd33676ac95dad, type: 3} + m_ModifiedSerializedProperties: 16 + m_ValidKeywords: + - _SURFACE_TYPE_TRANSPARENT + m_InvalidKeywords: + - _ENABLE_FOG_ON_TRANSPARENT + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + MotionVector: User + RenderType: Transparent + disabledShaderPasses: + - DepthOnly + - MOTIONVECTORS + - TransparentDepthPrepass + - TransparentDepthPostpass + - TransparentBackface + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: [] + m_Ints: [] + m_Floats: + - _AlphaDstBlend: 10 + - _Blend: 2 + - _DstBlend: 1 + - _DstBlend2: 10 + - _DstBlendAlpha: 1 + - _QueueControl: 0 + - _RenderQueueType: 3 + - _SrcBlend: 5 + - _SrcBlendAlpha: 1 + m_Colors: + - Vector2_D0C9AA28: {r: 0, g: 1.6, b: 0, a: 0} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &9184245298333240452 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.HighDefinition.Editor::UnityEditor.Rendering.HighDefinition.AssetVersion + version: 13 + hdPluginSubTargetMaterialVersions: + m_Keys: [] + m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Blocker.mat.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Camera Fading.mat.meta similarity index 64% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Blocker.mat.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Camera Fading.mat.meta index d6050310588..530527e6e65 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Blocker.mat.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Camera Fading.mat.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: 599e701b4e055464f8fbe3272bf024df +guid: db6b4c83a09a260428d5a1e8a0612649 NativeFormatImporter: externalObjects: {} - mainObjectFileID: 0 + mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Distortion.mat b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Distortion.mat new file mode 100644 index 00000000000..291381a994e --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Distortion.mat @@ -0,0 +1,86 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-1758692270267400489 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.HighDefinition.Editor::UnityEditor.Rendering.HighDefinition.AssetVersion + version: 13 + hdPluginSubTargetMaterialVersions: + m_Keys: [] + m_Values: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Distortion + m_Shader: {fileID: -6465566751694194690, guid: 0a5072d1aed673c49a6fa9afa646a392, type: 3} + m_Parent: {fileID: -876546973899608171, guid: 0a5072d1aed673c49a6fa9afa646a392, type: 3} + m_ModifiedSerializedProperties: 16 + m_ValidKeywords: + - _SURFACE_TYPE_TRANSPARENT + m_InvalidKeywords: + - _ENABLE_FOG_ON_TRANSPARENT + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + MotionVector: User + RenderType: Transparent + disabledShaderPasses: + - DepthOnly + - MOTIONVECTORS + - TransparentDepthPrepass + - TransparentDepthPostpass + - TransparentBackface + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - Texture2D_D1349F11: + m_Texture: {fileID: 2800000, guid: d0bbc09fecf55b540a4a0ccb62052eff, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - Vector1_4664B72E: 0.12 + - Vector1_CB02A382: 1 + - _AlphaDstBlend: 10 + - _AlphaSrcBlend: 1 + - _Blend: 0 + - _CullMode: 2 + - _CullModeForward: 2 + - _DstBlend: 10 + - _DstBlend2: 10 + - _DstBlendAlpha: 10 + - _QueueControl: 0 + - _RenderQueueType: 3 + - _SrcBlend: 5 + - _TransparentCullMode: 2 + m_Colors: [] + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &3040355843234986843 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Lit.mat.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Distortion.mat.meta similarity index 64% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Lit.mat.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Distortion.mat.meta index f3ec3bc53fb..0eca96ebaa4 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Lit.mat.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Distortion.mat.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: a93b49c0fad9dce4c91c49ff2db05a9b +guid: 8eaff1e6305492f4e8601cc1a9b22404 NativeFormatImporter: externalObjects: {} - mainObjectFileID: 0 + mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Flipbook Blending.mat b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Flipbook Blending.mat new file mode 100644 index 00000000000..29f54d4fc7a --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Flipbook Blending.mat @@ -0,0 +1,67 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-2427066714897141321 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Flipbook Blending + m_Shader: {fileID: -6465566751694194690, guid: a50a9d169bd89184aba52073a86ca37d, type: 3} + m_Parent: {fileID: -876546973899608171, guid: a50a9d169bd89184aba52073a86ca37d, type: 3} + m_ModifiedSerializedProperties: 18 + m_ValidKeywords: + - _FLIPBOOKBLENDING_ON + m_InvalidKeywords: [] + m_LightmapFlags: 2 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + MotionVector: User + disabledShaderPasses: + - MOTIONVECTORS + - TransparentDepthPrepass + - TransparentDepthPostpass + - TransparentBackface + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: [] + m_Ints: [] + m_Floats: + - _FLIPBOOKBLENDING: 1 + - _QueueControl: 0 + m_Colors: [] + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &899444407267865106 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.HighDefinition.Editor::UnityEditor.Rendering.HighDefinition.AssetVersion + version: 13 + hdPluginSubTargetMaterialVersions: + m_Keys: [] + m_Values: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Background.mat.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Flipbook Blending.mat.meta similarity index 64% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Background.mat.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Flipbook Blending.mat.meta index 9c718503625..e12e7441a20 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/Background.mat.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Flipbook Blending.mat.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: 699ce63562054f5498ac957ee32ce33f +guid: 9e3691a83803dae4fbf78b4fd07cf30d NativeFormatImporter: externalObjects: {} - mainObjectFileID: 0 + mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Particle Age.mat b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Particle Age.mat new file mode 100644 index 00000000000..2ec4e0fcde9 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Particle Age.mat @@ -0,0 +1,82 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-6222271337663512519 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.HighDefinition.Editor::UnityEditor.Rendering.HighDefinition.AssetVersion + version: 13 + hdPluginSubTargetMaterialVersions: + m_Keys: [] + m_Values: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Particle Age + m_Shader: {fileID: -6465566751694194690, guid: 7ba140d74fb147d4881dc1e2a6de6f70, type: 3} + m_Parent: {fileID: -876546973899608171, guid: 7ba140d74fb147d4881dc1e2a6de6f70, type: 3} + m_ModifiedSerializedProperties: 26 + m_ValidKeywords: + - _ALPHATEST_ON + m_InvalidKeywords: + - _DISABLE_SSR_TRANSPARENT + - _DOUBLESIDED_ON + m_LightmapFlags: 2 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 1 + m_CustomRenderQueue: 2450 + stringTagMap: + MotionVector: User + RenderType: TransparentCutout + disabledShaderPasses: + - MOTIONVECTORS + - TransparentDepthPrepass + - TransparentDepthPostpass + - TransparentBackface + - RayTracingPrepass + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _SampleTexture2D_66cdac410bd443eaba1c6148094f6274_Texture_1_Texture2D: + m_Texture: {fileID: 2800000, guid: 69883503249f7bb439f8d69205c55906, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaToMask: 1 + - _CullMode: 0 + - _CullModeForward: 0 + - _DstBlend: 0 + - _DstBlendAlpha: 0 + - _QueueControl: 0 + - _ZTestGBuffer: 3 + - _ZWrite: 1 + m_Colors: + - _DoubleSidedConstants: {r: 1, g: 1, b: 1, a: 0} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &8799206574368255910 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitCameraFading.mat.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Particle Age.mat.meta similarity index 64% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitCameraFading.mat.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Particle Age.mat.meta index 31dd1a275d6..8efefcb4c0d 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Materials/LitCameraFading.mat.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Particle Age.mat.meta @@ -1,8 +1,8 @@ fileFormatVersion: 2 -guid: fbde93bbaddd4764db79bc44f083ce9d +guid: 6d4fafec4a8fe6a4c83a7bdc171c1f27 NativeFormatImporter: externalObjects: {} - mainObjectFileID: 0 + mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles 1.mat b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles 1.mat new file mode 100644 index 00000000000..9f9fa5c2716 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles 1.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-3612151757640447976 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.HighDefinition.Editor::UnityEditor.Rendering.HighDefinition.AssetVersion + version: 13 + hdPluginSubTargetMaterialVersions: + m_Keys: [] + m_Values: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Soft Particles 1 + m_Shader: {fileID: -6465566751694194690, guid: 1ef1c704f32271a41b4a1fc30d3071b3, type: 3} + m_Parent: {fileID: -876546973899608171, guid: 1ef1c704f32271a41b4a1fc30d3071b3, type: 3} + m_ModifiedSerializedProperties: 16 + m_ValidKeywords: + - _SURFACE_TYPE_TRANSPARENT + m_InvalidKeywords: + - _ENABLE_FOG_ON_TRANSPARENT + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + MotionVector: User + RenderType: Transparent + disabledShaderPasses: + - DepthOnly + - MOTIONVECTORS + - TransparentDepthPrepass + - TransparentDepthPostpass + - TransparentBackface + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: [] + m_Ints: [] + m_Floats: + - _AlphaDstBlend: 10 + - _Blend: 2 + - _DstBlend: 1 + - _DstBlend2: 10 + - _DstBlendAlpha: 1 + - _QueueControl: 0 + - _RenderQueueType: 3 + - _SrcBlend: 5 + m_Colors: + - Vector2_4F8D01F9: {r: 0, g: 0, b: 0, a: 0} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &4642501866692224704 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles 1.mat.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles 1.mat.meta new file mode 100644 index 00000000000..51863751fcf --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles 1.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: df8efe5fd5fa54e42866969af2ff0199 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles.mat b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles.mat new file mode 100644 index 00000000000..21de6f8db52 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-321720702975052534 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.HighDefinition.Editor::UnityEditor.Rendering.HighDefinition.AssetVersion + version: 13 + hdPluginSubTargetMaterialVersions: + m_Keys: [] + m_Values: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Soft Particles + m_Shader: {fileID: -6465566751694194690, guid: 1ef1c704f32271a41b4a1fc30d3071b3, type: 3} + m_Parent: {fileID: -876546973899608171, guid: 1ef1c704f32271a41b4a1fc30d3071b3, type: 3} + m_ModifiedSerializedProperties: 16 + m_ValidKeywords: + - _SURFACE_TYPE_TRANSPARENT + m_InvalidKeywords: + - _ENABLE_FOG_ON_TRANSPARENT + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + MotionVector: User + RenderType: Transparent + disabledShaderPasses: + - DepthOnly + - MOTIONVECTORS + - TransparentDepthPrepass + - TransparentDepthPostpass + - TransparentBackface + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: [] + m_Ints: [] + m_Floats: + - _AlphaDstBlend: 10 + - _Blend: 2 + - _DstBlend: 1 + - _DstBlend2: 10 + - _DstBlendAlpha: 1 + - _QueueControl: 0 + - _RenderQueueType: 3 + - _SrcBlend: 5 + m_Colors: + - Vector2_4F8D01F9: {r: 0, g: 0.36, b: 0, a: 0} + m_BuildTextureStacks: [] + m_AllowLocking: 1 +--- !u!114 &4642501866692224704 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles.mat.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles.mat.meta new file mode 100644 index 00000000000..8506870cd07 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Materials/Soft Particles.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0411e9157d5ff764c8086e61f6ec75e0 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/ParticleShadersDescriptions.json b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/ParticleShadersDescriptions.json new file mode 100644 index 00000000000..80dd28daa24 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/ParticleShadersDescriptions.json @@ -0,0 +1,100 @@ +{ + "introduction": + """Welcome to the Particle Shaders Sample. + + This collection is composed of various Shader Graphs, each to visually explain how to use Shader Graph with Particle Systems.""", + + "samples": [ + { + "title": "GPU Instancing", + "prefabName": "GPU Instancing", + "description": + """Open Shader Graph + Show Particle System + + Like Particle Graph Templates, all examples work on Particle Systems with Render Mode set to Billboard or Mesh, with or without GPU Instancing enabled, by using Particle Data nodes from the Shader Functions Library, such as Particle Transforms, Color and TexCoords. + + Open the shader graph for more information. + + Covered Aspects: + • Particle Transforms + • Particle Color + • Particle Texcoords""" + }, + { + "title": "Flipbook Blending", + "prefabName": "Flipbook Blending", + "description": + """Open Shader Graph + Show Particle System + + This example uses the (new) Particle Flipbook Blending subgraph. + The upper system’s material has blending enabled, while the lower one has it disabled. +When using Billboard or Mesh with GPU Instancing disabled, it expects Custom Vertex Streams set to: Color, UV, UV2 and AnimBlend. +Note, Normal is also required for Lit, and Tangent if Normal Maps are used. +When GPU Instancing is disabled, a mesh where UV1 is the same as UV0 is required. +When using Mesh with GPU Instancing enabled, this requires no Custom Vertex Streams. + + Covered Aspects: + • Texture Sheet Animation""" + }, + { + "title": "Soft Particles", + "prefabName": "Soft Particles", + "description": + """Open Shader Graph + Show Particle System + + This example fades transparent particles near opaque geometry, so as to avoid hard clipping where particles overlap scene objects. This is similar to URP Particle Shaders’ “Soft Particles” option. +The upper system’s material shows Soft Particles, while the lower one shows clipping artefacts that occur without it. + + Open the shader graph for more information. + + Covered Aspects: + • Scene Depth Node + • Screen Position Node""" + }, + { + "title": "Camera Fading", + "prefabName": "Camera Fading", + "description": + """Open Shader Graph + Show Particle System + + This example fades transparent particles near the camera, so as to avoid hard clipping where particles come near the Camera clipping plane. This is similar to URP Particle Shader “Camera Fade” option. + + Open the shader graph for more information. + + Covered Aspects: + • Position Node""" + }, + { + "title": "Distortion", + "prefabName": "Distortion", + "description": + """Open Shader Graph + Show Particle System + + This example uses a Normal Map to distort the background behind transparent particles. This is similar to URP Particle Shaders “Distortion” option. + + Covered Aspects: + • Scene Color Node + • Screen Position Node""" + }, + { + "title": "Custom Particle Data (Particle Age)", + "prefabName": "Particle Age", + "description": + """Open Shader Graph + Show Particle System + + This example shows how to use Custom Vertex Streams to use Particle Data in the shader, either using vertex streams with Billboards or custom ParticleData struct with Mesh and GPU Instancing enabled. +Here the Particle Age is used to dissolve particles. + + Open the shader graph for more information. + + Covered Aspects: + • Particle Systems Vertex Streams""" + } + ] +} diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/ParticleShadersDescriptions.json.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/ParticleShadersDescriptions.json.meta new file mode 100644 index 00000000000..5803fc8828e --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/ParticleShadersDescriptions.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e39a6421f2c139e47b566e4ef184e38d +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs.meta similarity index 77% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs.meta index a419957bf3a..5afedd7d0d2 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: b2479365dd75aba48b9dd79291a82c6c +guid: 9ae3714585e0ef64085794d7ec570eed folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Camera Fading.prefab b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Camera Fading.prefab new file mode 100644 index 00000000000..9cbd5d08a9b --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Camera Fading.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88da24bf1aa78548784211599da6ca7fccef72ab06c976d64a6d590e5c0a54e3 +size 62369 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Camera Fading.prefab.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Camera Fading.prefab.meta new file mode 100644 index 00000000000..27f96f06887 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Camera Fading.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: acb63dfd66e3dd04caebbc8b845aea59 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Distortion.prefab b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Distortion.prefab new file mode 100644 index 00000000000..cd0be9251d7 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Distortion.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6efc9ba94963c25fce6febf9b1d1ea78486a419a03213298d75283b0a1fab4e1 +size 66470 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Distortion.prefab.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Distortion.prefab.meta new file mode 100644 index 00000000000..8e323912fd9 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Distortion.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d5e749daf3835064e9cac28844abd171 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Flipbook Blending.prefab b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Flipbook Blending.prefab new file mode 100644 index 00000000000..f1c719ac678 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Flipbook Blending.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec49928c4c314a1d22f4325767ceeff89983b5a5a5ac1adac5963989d5ab93b0 +size 81847 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Flipbook Blending.prefab.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Flipbook Blending.prefab.meta new file mode 100644 index 00000000000..ba95397e43c --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Flipbook Blending.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2277623b13d517e4d9195b9954de3c00 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Mesh Particles.prefab b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Mesh Particles.prefab new file mode 100644 index 00000000000..1bdf6319b32 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Mesh Particles.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63e2827b958ec4cf648a8a363e7a3339736eba7fe4eb96c52809b7e904ec202c +size 66609 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Mesh Particles.prefab.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Mesh Particles.prefab.meta new file mode 100644 index 00000000000..df11e3905dd --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Mesh Particles.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 89979f13a55b303459fec809c3b17ac8 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Particle Age.prefab b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Particle Age.prefab new file mode 100644 index 00000000000..dd843b60570 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Particle Age.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0499a36d6e3f9d8ca66441286ba8626ea8c1a529795c9319d273b04842ac2eba +size 11048 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Particle Age.prefab.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Particle Age.prefab.meta new file mode 100644 index 00000000000..a8081061509 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Particle Age.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2623538bed5e9c64dafa64546f2d8115 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Sample Stand.prefab b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Sample Stand.prefab new file mode 100644 index 00000000000..74859e730b0 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Sample Stand.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e864ecffe9d245b39f852ce27adba7552c7fcb64c13eff17032278883528ac1 +size 30979 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Sample Stand.prefab.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Sample Stand.prefab.meta new file mode 100644 index 00000000000..fb9f7bafb51 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Sample Stand.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 506427f5b26814641b42d9e60b88a66a +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Soft Particles.prefab b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Soft Particles.prefab new file mode 100644 index 00000000000..643e85fe83f --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Soft Particles.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1823b75eead9fa42c69989075ec9d8458694ca66d2a8ce1db3d0e69ba51e07f8 +size 126215 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Soft Particles.prefab.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Soft Particles.prefab.meta new file mode 100644 index 00000000000..7e2bfa0b025 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/Soft Particles.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 48107805786efdc498d52bd1ec950d4f +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/TurntableWithBackdrop_Particles.prefab b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/TurntableWithBackdrop_Particles.prefab new file mode 100644 index 00000000000..590b0ce23a7 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/TurntableWithBackdrop_Particles.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:270683da2384c3191b9706fdb167ad34fb525bc706bcd04a39d5ac53c4b428ca +size 122264 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/TurntableWithBackdrop_Particles.prefab.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/TurntableWithBackdrop_Particles.prefab.meta new file mode 100644 index 00000000000..a6998b9d726 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Prefabs/TurntableWithBackdrop_Particles.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e9e3d10ea07691541a5fc195f6873a4e +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings.meta new file mode 100644 index 00000000000..8959ca963b7 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 01a32cab48302794bb41c09551ce81d3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/VolumeOverrides.asset b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings/VolumeOverrides.asset similarity index 74% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/VolumeOverrides.asset rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings/VolumeOverrides.asset index 9549054c4d5..c5001c7a1fd 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/VolumeOverrides.asset +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings/VolumeOverrides.asset @@ -1,5 +1,75 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!114 &-7383996225931997030 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f086a068d4c5889438831b3ae9afc11c, type: 3} + m_Name: Tonemapping + m_EditorClassIdentifier: Unity.RenderPipelines.HighDefinition.Runtime::UnityEngine.Rendering.HighDefinition.Tonemapping + active: 1 + mode: + m_OverrideState: 1 + m_Value: 2 + useFullACES: + m_OverrideState: 0 + m_Value: 0 + toeStrength: + m_OverrideState: 0 + m_Value: 0 + toeLength: + m_OverrideState: 0 + m_Value: 0.5 + shoulderStrength: + m_OverrideState: 0 + m_Value: 0 + shoulderLength: + m_OverrideState: 0 + m_Value: 0.5 + shoulderAngle: + m_OverrideState: 0 + m_Value: 0 + gamma: + m_OverrideState: 0 + m_Value: 1 + lutTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + lutContribution: + m_OverrideState: 0 + m_Value: 1 + neutralHDRRangeReductionMode: + m_OverrideState: 0 + m_Value: 2 + acesPreset: + m_OverrideState: 0 + m_Value: 3 + fallbackMode: + m_OverrideState: 0 + m_Value: 1 + hueShiftAmount: + m_OverrideState: 0 + m_Value: 0 + detectPaperWhite: + m_OverrideState: 0 + m_Value: 0 + paperWhite: + m_OverrideState: 0 + m_Value: 300 + detectBrightnessLimits: + m_OverrideState: 0 + m_Value: 1 + minNits: + m_OverrideState: 0 + m_Value: 0.005 + maxNits: + m_OverrideState: 0 + m_Value: 1000 --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 @@ -15,6 +85,7 @@ MonoBehaviour: components: - {fileID: 4695162351214455319} - {fileID: 6754315719104986113} + - {fileID: -7383996225931997030} --- !u!114 &4695162351214455319 MonoBehaviour: m_ObjectHideFlags: 3 @@ -28,9 +99,10 @@ MonoBehaviour: m_Name: VisualEnvironment m_EditorClassIdentifier: active: 1 + m_Version: 1 skyType: m_OverrideState: 1 - m_Value: 0 + m_Value: 4 cloudType: m_OverrideState: 0 m_Value: 0 @@ -58,7 +130,6 @@ MonoBehaviour: fogType: m_OverrideState: 0 m_Value: 0 - m_Version: 1 --- !u!114 &6754315719104986113 MonoBehaviour: m_ObjectHideFlags: 3 @@ -83,7 +154,7 @@ MonoBehaviour: m_Value: 1 fixedExposure: m_OverrideState: 1 - m_Value: 0 + m_Value: 10 compensation: m_OverrideState: 0 m_Value: 0 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/VolumeOverrides.asset.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings/VolumeOverrides.asset.meta similarity index 78% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/VolumeOverrides.asset.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings/VolumeOverrides.asset.meta index 8be26f435b0..868f35e3ca3 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/VolumeOverrides.asset.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Settings/VolumeOverrides.asset.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 5ab50c8c5f8a2514bbee35c51f16b299 +guid: ddb69c5bab6991c418bab15fddba8c95 NativeFormatImporter: externalObjects: {} mainObjectFileID: 0 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs.meta new file mode 100644 index 00000000000..e89747f847e --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1e7639a8c87701a4fb0a469152a07e00 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Camera Fading.shadergraph b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Camera Fading.shadergraph new file mode 100644 index 00000000000..581f7a37df5 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Camera Fading.shadergraph @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83d79458fb4908e06f906421d17878336a4a360d881c833dedd6846d9a8372f5 +size 60002 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLit.shadergraph.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Camera Fading.shadergraph.meta similarity index 86% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLit.shadergraph.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Camera Fading.shadergraph.meta index 5377db0cb1f..f7ead12e71d 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLit.shadergraph.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Camera Fading.shadergraph.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 6fabb132d3e307c4c97becb08f822dbf +guid: 849d1f5f942b50240bfd33676ac95dad ScriptedImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/CustomParticleData.hlsl b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/CustomParticleData.hlsl new file mode 100644 index 00000000000..99ae90be329 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/CustomParticleData.hlsl @@ -0,0 +1,36 @@ +#ifndef CUSTOM_PARTICLESINSTANCING_INCLUDED +#define CUSTOM_PARTICLESINSTANCING_INCLUDED + +#ifndef UNITY_PARTICLE_INSTANCE_DATA +#define UNITY_PARTICLE_INSTANCE_DATA CustomParticleInstanceData +#define UNITY_PARTICLE_INSTANCE_DATA_NO_ANIM_FRAME +#endif + +struct CustomParticleInstanceData +{ + float3x4 transform; + uint color; + float agePercent; +}; + +#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/ParticlesInstancing.hlsl" + +/// +/// Custom.Particles.AgePercent +/// Particle Age +/// VFX/Particles +/// Age +/// Particle, Age +/// +UNITY_EXPORT_REFLECTION +void GetParticleAge(inout float agePercent) +{ +#if defined(UNITY_PARTICLE_INSTANCING_ENABLED) + UNITY_PARTICLE_INSTANCE_DATA data = unity_ParticleInstanceData[unity_InstanceID]; + agePercent = data.agePercent; +#elif defined (SHADERGRAPH_PREVIEW) || defined(SHADERGRAPH_PREVIEW_MAIN) + agePercent = 0.5; +#endif +} + +#endif // CUSTOM_PARTICLESINSTANCING_INCLUDED diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/CustomParticleData.hlsl.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/CustomParticleData.hlsl.meta new file mode 100644 index 00000000000..ccbc2e35926 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/CustomParticleData.hlsl.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c8c0d0b2018ef3a4da105ddcf0f0c06c +ShaderIncludeImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Distortion.shadergraph b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Distortion.shadergraph new file mode 100644 index 00000000000..8077bcb1104 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Distortion.shadergraph @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:999e225cb84579997df562a1fe1d69806059829dcbf92a4e2f10c77704ad9b33 +size 85744 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitCameraFading.shadergraph.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Distortion.shadergraph.meta similarity index 86% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitCameraFading.shadergraph.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Distortion.shadergraph.meta index f233cd7b2e9..79ac6423dc1 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitCameraFading.shadergraph.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Distortion.shadergraph.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 999e9a6a32748e649802372a36c3ab34 +guid: 0a5072d1aed673c49a6fa9afa646a392 ScriptedImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Flipbook Blending.shadergraph b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Flipbook Blending.shadergraph new file mode 100644 index 00000000000..77b8246f199 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Flipbook Blending.shadergraph @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92363999b40a1e925be6e7aa471640833cdc43732b8c969e6ae4c652f2c39340 +size 61198 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Flipbook Blending.shadergraph.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Flipbook Blending.shadergraph.meta new file mode 100644 index 00000000000..eaeacb6e899 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Flipbook Blending.shadergraph.meta @@ -0,0 +1,20 @@ +fileFormatVersion: 2 +guid: a50a9d169bd89184aba52073a86ca37d +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} + useAsTemplate: 0 + exposeTemplateAsShader: 0 + indexedData: {instanceID: 0} + template: + name: + category: + description: + icon: {instanceID: 0} + thumbnail: {instanceID: 0} + order: 0 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Age.shadergraph b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Age.shadergraph new file mode 100644 index 00000000000..a37a82a2e40 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Age.shadergraph @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76988ff48a64cbfb18ced4b46d2a5aa23cac08f67037f2ad8399c5efa1f0599f +size 94125 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Age.shadergraph.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Age.shadergraph.meta new file mode 100644 index 00000000000..5f89f6f90fe --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Age.shadergraph.meta @@ -0,0 +1,20 @@ +fileFormatVersion: 2 +guid: 7ba140d74fb147d4881dc1e2a6de6f70 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} + useAsTemplate: 0 + exposeTemplateAsShader: 0 + indexedData: {instanceID: 0} + template: + name: + category: + description: + icon: {instanceID: 0} + thumbnail: {instanceID: 0} + order: 0 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Lit.shadergraph b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Lit.shadergraph new file mode 100644 index 00000000000..ea62b82535c --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Lit.shadergraph @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a89ec9df381897ec79c05dc1ed07991b12cc158d92e1342908cdb342ed64651e +size 55419 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Lit.shadergraph.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Lit.shadergraph.meta new file mode 100644 index 00000000000..411dcdf23a9 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Lit.shadergraph.meta @@ -0,0 +1,20 @@ +fileFormatVersion: 2 +guid: be2a2e3188d1ac14baa22dac0ef8d827 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} + useAsTemplate: 0 + exposeTemplateAsShader: 0 + indexedData: {instanceID: 0} + template: + name: + category: + description: + icon: {instanceID: 0} + thumbnail: {instanceID: 0} + order: 0 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Unlit.shadergraph b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Unlit.shadergraph new file mode 100644 index 00000000000..45ea2b43e6d --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Unlit.shadergraph @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a83baef0307072f9f8b73b62afde62175a88e07edac28c689672d98792be86d +size 55497 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Unlit.shadergraph.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Unlit.shadergraph.meta new file mode 100644 index 00000000000..819814af864 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Particle Unlit.shadergraph.meta @@ -0,0 +1,20 @@ +fileFormatVersion: 2 +guid: 7855cfe32f33189428c506d27fae7fbb +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} + useAsTemplate: 0 + exposeTemplateAsShader: 0 + indexedData: {instanceID: 0} + template: + name: + category: + description: + icon: {instanceID: 0} + thumbnail: {instanceID: 0} + order: 0 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Soft Particles.shadergraph b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Soft Particles.shadergraph new file mode 100644 index 00000000000..59201dbc9b4 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Soft Particles.shadergraph @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5906830921c6253621240d496bfeb5893692c4dd114823206e4f130d5cd4c201 +size 59750 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitDistortion.shadergraph.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Soft Particles.shadergraph.meta similarity index 86% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitDistortion.shadergraph.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Soft Particles.shadergraph.meta index 7baa94a6527..8ffee349282 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Shaders/ParticleLitDistortion.shadergraph.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Shader Graphs/Soft Particles.shadergraph.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 2bec6c6e24499314b9d7a91e2e69178f +guid: 1ef1c704f32271a41b4a1fc30d3071b3 ScriptedImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures.meta similarity index 77% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures.meta index 20880c32fdc..2a4b21dfd05 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 997773cc004dc9b43bb2dfa0a534cc8c +guid: bb88d203de5fcd64e9db72ead256f279 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures/DistortionNoise.png b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures/DistortionNoise.png new file mode 100644 index 00000000000..9f8b5dfc13a --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures/DistortionNoise.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b5399edbe412a5716cef8cab37f6e3041aa2d561222c192924c7bd667d7da28 +size 273753 diff --git a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/particle_normalmap.png.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures/DistortionNoise.png.meta similarity index 77% rename from Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/particle_normalmap.png.meta rename to Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures/DistortionNoise.png.meta index 59aa8293444..f576536cc8c 100644 --- a/Packages/com.unity.render-pipelines.high-definition/Samples~/ParticleSystemShaderSamples/Textures/particle_normalmap.png.meta +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/Textures/DistortionNoise.png.meta @@ -1,9 +1,9 @@ fileFormatVersion: 2 -guid: 1518ae1992671ad45b09d3b59ee04b3f +guid: d0bbc09fecf55b540a4a0ccb62052eff TextureImporter: internalIDToNameTable: [] externalObjects: {} - serializedVersion: 10 + serializedVersion: 13 mipmaps: mipMapMode: 0 enableMipMap: 1 @@ -20,9 +20,12 @@ TextureImporter: externalNormalMap: 0 heightScale: 0.25 normalMapFilter: 0 + flipGreenChannel: 0 isReadable: 0 streamingMipmaps: 0 streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 grayScaleToAlpha: 0 generateCubemap: 6 cubemapConvolution: 0 @@ -31,12 +34,12 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 nPOTScale: 1 lightmap: 0 compressionQuality: 50 @@ -50,15 +53,23 @@ TextureImporter: spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 alphaIsTransparency: 0 + spriteTessellationMethod: 0 spriteTessellationDetail: -1 + spriteGeometrySubdivision: -1 textureType: 1 textureShape: 1 singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 maxTextureSizeSet: 0 compressionQualitySet: 0 textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 platformSettings: - - serializedVersion: 3 + - serializedVersion: 4 buildTarget: DefaultTexturePlatform maxTextureSize: 2048 resizeAlgorithm: 0 @@ -68,9 +79,10 @@ TextureImporter: crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 + ignorePlatformSupport: 0 androidETC2FallbackOverride: 0 forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 + - serializedVersion: 4 buildTarget: Standalone maxTextureSize: 2048 resizeAlgorithm: 0 @@ -80,12 +92,14 @@ TextureImporter: crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 + ignorePlatformSupport: 0 androidETC2FallbackOverride: 0 forceMaximumCompressionQuality_BC6H_BC7: 0 spriteSheet: serializedVersion: 2 sprites: [] outline: [] + customData: physicsShape: [] bones: [] spriteID: @@ -95,9 +109,11 @@ TextureImporter: edges: [] weights: [] secondaryTextures: [] - spritePackingTag: + spriteCustomMetadata: + entries: [] + nameFileIdTable: {} + mipmapLimitGroupName: pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 userData: assetBundleName: assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/URP_Particles_Shaders.unity b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/URP_Particles_Shaders.unity new file mode 100644 index 00000000000..bf9d195d059 --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/URP_Particles_Shaders.unity @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5eca21756fd91ddde7c6e3f08c47ebadcdfe242c1db64711b3da8d5024ad6fae +size 38159 diff --git a/Packages/com.unity.shadergraph/Samples~/ParticleShaders/URP_Particles_Shaders.unity.meta b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/URP_Particles_Shaders.unity.meta new file mode 100644 index 00000000000..7f737d6d89e --- /dev/null +++ b/Packages/com.unity.shadergraph/Samples~/ParticleShaders/URP_Particles_Shaders.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 06f77a5d2d1a0274ea8ba6c85fd8b148 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/package.json b/Packages/com.unity.shadergraph/package.json index 61d10443dc3..e5e9fe4a786 100644 --- a/Packages/com.unity.shadergraph/package.json +++ b/Packages/com.unity.shadergraph/package.json @@ -60,6 +60,15 @@ "com.unity.render-pipelines.core/Samples~/Common", "com.unity.shadergraph/Samples~/Common" ] + }, + { + "displayName": "Particle Shaders", + "description": "This sample helps you create customized shaders for your Particle Systems.", + "path": "Samples~/ParticleShaders", + "dependencies": [ + "com.unity.render-pipelines.core/Samples~/Common", + "com.unity.shadergraph/Samples~/Common" + ] } ] } From 173a15494d7543f52290debc3cdbb3392b39da15 Mon Sep 17 00:00:00 2001 From: Reach Platform Support Date: Thu, 25 Jun 2026 13:48:26 +0000 Subject: [PATCH 004/231] [Port] [6000.6] UUM-145389 : Fix issues when reassigning the same APV baking set in the Lighting Tab's Current Baking Set --- .../ProbeVolume/ProbeVolumeLightingTab.cs | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs index dc9e2554d97..773c4c5937a 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs @@ -347,7 +347,11 @@ void BakingGUI() m_SingleSceneMode = EditorGUILayout.Popup(Styles.bakingMode, m_SingleSceneMode ? 0 : 1, Styles.bakingModeOptions) == 0; if (EditorGUI.EndChangeCheck() && !m_SingleSceneMode) { - if (activeSet != null) { EditorUtility.SetDirty(activeSet); activeSet.singleSceneMode = false; } + if (activeSet != null) + { + EditorUtility.SetDirty(activeSet); + activeSet.singleSceneMode = false; + } SaveTempBakingSetIfNeeded(); } @@ -357,11 +361,14 @@ void BakingGUI() return; } - EditorGUI.BeginChangeCheck(); var newSet = ObjectFieldWithNew(Styles.currentBakingSet, activeSet, CreateBakingSet); - if (EditorGUI.EndChangeCheck()) + if (newSet != activeSet) { - if (newSet != null) { EditorUtility.SetDirty(newSet); newSet.singleSceneMode = false; } + if (newSet != null) + { + EditorUtility.SetDirty(newSet); + newSet.singleSceneMode = false; + } activeSet = newSet; ProbeReferenceVolume.instance.Clear(); From 177d93e6f4470eecac32aa95219d6a62af47ae71 Mon Sep 17 00:00:00 2001 From: Reach Platform Support Date: Thu, 25 Jun 2026 13:48:26 +0000 Subject: [PATCH 005/231] [Port] [6000.6] [ShaderGraph] Fix Test Instabilities --- .../Drawing/Blackboard/SGBlackboardField.cs | 2 +- .../Editor/Drawing/Inspector/InspectorView.cs | 2 +- .../Editor/Drawing/MaterialGraphEditWindow.cs | 6 +- .../Editor/Drawing/PreviewManager.cs | 9 ++- .../Editor/Drawing/Views/GraphEditorView.cs | 4 +- .../Importers/ShaderGraphImporterEditor.cs | 3 +- .../Tests/Editor/UnitTests/TargetTests.cs | 2 - .../CommonAssets/Editor/CategoryTests.cs | 38 +++++----- .../CommonAssets/Editor/ContextBlockTests.cs | 10 ++- .../CommonAssets/Editor/FileMoveTests.cs | 56 +++++++-------- .../Assets/CommonAssets/Editor/GroupTests.cs | 32 ++++++--- .../CommonAssets/Editor/MemoryLeakTests.cs | 15 ++-- .../Assets/CommonAssets/Editor/NodeTests.cs | 70 +++++++++++-------- .../CommonAssets/Editor/PropertyTests.cs | 63 +++++++++-------- .../CommonAssets/Editor/SaveLoadTests.cs | 25 ++++--- .../Editor/ShaderGraphUITestHelpers.cs | 21 ++++++ .../CommonAssets/Editor/SubWindowTests.cs | 49 ++++++------- 17 files changed, 237 insertions(+), 170 deletions(-) diff --git a/Packages/com.unity.shadergraph/Editor/Drawing/Blackboard/SGBlackboardField.cs b/Packages/com.unity.shadergraph/Editor/Drawing/Blackboard/SGBlackboardField.cs index 9d20ab76994..1a339d74185 100644 --- a/Packages/com.unity.shadergraph/Editor/Drawing/Blackboard/SGBlackboardField.cs +++ b/Packages/com.unity.shadergraph/Editor/Drawing/Blackboard/SGBlackboardField.cs @@ -220,7 +220,7 @@ public ShaderInputViewController controller // --- ISGControlledElement implementation [Inspectable("Shader Input", null)] - public ShaderInput shaderInput => ViewModel.model; + public ShaderInput shaderInput => ViewModel?.model; public string inspectorTitle => ViewModel.inputName + " " + ViewModel.inputTypeName; diff --git a/Packages/com.unity.shadergraph/Editor/Drawing/Inspector/InspectorView.cs b/Packages/com.unity.shadergraph/Editor/Drawing/Inspector/InspectorView.cs index 2b2336ab472..2ee411fe809 100644 --- a/Packages/com.unity.shadergraph/Editor/Drawing/Inspector/InspectorView.cs +++ b/Packages/com.unity.shadergraph/Editor/Drawing/Inspector/InspectorView.cs @@ -153,7 +153,7 @@ public void Update() var currentInspectables = new HashSet(); foreach (var selectable in selection) { - if (selectable is IInspectable inspectable) + if (selectable is IInspectable inspectable && inspectable.GetObjectToInspect() != null) { DrawInspectable(m_NodeSettingsContainer, inspectable); currentInspectablesCount++; diff --git a/Packages/com.unity.shadergraph/Editor/Drawing/MaterialGraphEditWindow.cs b/Packages/com.unity.shadergraph/Editor/Drawing/MaterialGraphEditWindow.cs index f1c641c2a53..fb90b0c2993 100644 --- a/Packages/com.unity.shadergraph/Editor/Drawing/MaterialGraphEditWindow.cs +++ b/Packages/com.unity.shadergraph/Editor/Drawing/MaterialGraphEditWindow.cs @@ -55,6 +55,8 @@ class MaterialGraphEditWindow : EditorWindow int m_customInterpWarn; [NonSerialized] int m_customInterpErr; + [NonSerialized] + internal bool m_DisablePreviewsForTesting; [SerializeField] bool m_AssetMaybeChangedOnDisk; @@ -300,7 +302,7 @@ void Update() string graphName = Path.GetFileNameWithoutExtension(assetPath); graphObject.Validate(); - graphEditorView = new GraphEditorView(this, materialGraph, messageManager, graphName) + graphEditorView = new GraphEditorView(this, materialGraph, messageManager, graphName, m_DisablePreviewsForTesting) { viewDataKey = selectedGuid, }; @@ -1280,7 +1282,7 @@ public void Initialize(string assetGuid) using (CreateGraphEditorViewMarker.Auto()) { - graphEditorView = new GraphEditorView(this, m_GraphObject.graph, messageManager, graphName) + graphEditorView = new GraphEditorView(this, m_GraphObject.graph, messageManager, graphName, m_DisablePreviewsForTesting) { viewDataKey = selectedGuid, }; diff --git a/Packages/com.unity.shadergraph/Editor/Drawing/PreviewManager.cs b/Packages/com.unity.shadergraph/Editor/Drawing/PreviewManager.cs index 9f70a418f3d..464bd4bdfde 100644 --- a/Packages/com.unity.shadergraph/Editor/Drawing/PreviewManager.cs +++ b/Packages/com.unity.shadergraph/Editor/Drawing/PreviewManager.cs @@ -72,8 +72,11 @@ public PreviewRenderData masterRenderData get { return m_MasterRenderData; } } - public PreviewManager(GraphData graph, MessageManager messenger) + bool m_DisablePreviewsForTesting; + + public PreviewManager(GraphData graph, MessageManager messenger, bool disablePreviewsForTesting = false) { + m_DisablePreviewsForTesting = disablePreviewsForTesting; m_SharedPreviewPropertyBlock = new MaterialPropertyBlock(); m_SharedPreviewProperties = new Dictionary(); m_Graph = graph; @@ -636,8 +639,12 @@ bool TimedNodesShouldUpdate(EditorWindow editorWindow) private static int k_spriteColor = Shader.PropertyToID("unity_SpriteColor"); private static int k_rendererColor = Shader.PropertyToID("_RendererColor"); private float previewTime = 0; + public void RenderPreviews(EditorWindow editorWindow, bool requestShaders = true) { + if (m_DisablePreviewsForTesting) + return; + using (RenderPreviewsMarker.Auto()) using (UnityEngine.Pool.ListPool.Get(out var renderList2D)) using (UnityEngine.Pool.ListPool.Get(out var renderList3D)) diff --git a/Packages/com.unity.shadergraph/Editor/Drawing/Views/GraphEditorView.cs b/Packages/com.unity.shadergraph/Editor/Drawing/Views/GraphEditorView.cs index 9fa85db7474..88e81d3b614 100644 --- a/Packages/com.unity.shadergraph/Editor/Drawing/Views/GraphEditorView.cs +++ b/Packages/com.unity.shadergraph/Editor/Drawing/Views/GraphEditorView.cs @@ -190,7 +190,7 @@ static GUIContent BlackboardIcon static GUIContent HelpIcon => helpIcon ??= new GUIContent(EditorGUIUtility.IconContent("_Help").image, "Open Shader Graph User Manual"); - public GraphEditorView(EditorWindow editorWindow, GraphData graph, MessageManager messageManager, string graphName) + public GraphEditorView(EditorWindow editorWindow, GraphData graph, MessageManager messageManager, string graphName, bool disablePreviewsForTesting = false) { m_GraphViewGroupTitleChanged = OnGroupTitleChanged; m_GraphViewElementsAddedToGroup = OnElementsAddedToGroup; @@ -201,7 +201,7 @@ public GraphEditorView(EditorWindow editorWindow, GraphData graph, MessageManage m_Graph = graph; m_AssetName = graphName; m_MessageManager = messageManager; - previewManager = new PreviewManager(graph, messageManager); + previewManager = new PreviewManager(graph, messageManager, disablePreviewsForTesting); previewManager.RenderPreviews(m_EditorWindow, false); styleSheets.Add(Resources.Load("Styles/GraphEditorView")); diff --git a/Packages/com.unity.shadergraph/Editor/Importers/ShaderGraphImporterEditor.cs b/Packages/com.unity.shadergraph/Editor/Importers/ShaderGraphImporterEditor.cs index ee1325549f5..6e2988e6dcc 100644 --- a/Packages/com.unity.shadergraph/Editor/Importers/ShaderGraphImporterEditor.cs +++ b/Packages/com.unity.shadergraph/Editor/Importers/ShaderGraphImporterEditor.cs @@ -175,7 +175,7 @@ public override void OnDisable() DestroyImmediate(materialEditor); } - internal static bool ShowGraphEditWindow(string path) + internal static bool ShowGraphEditWindow(string path, bool disablePreviewsForTesting = false) { var guid = AssetDatabase.AssetPathToGUID(path); var extension = Path.GetExtension(path); @@ -200,6 +200,7 @@ internal static bool ShowGraphEditWindow(string path) } var window = EditorWindow.CreateWindow(typeof(MaterialGraphEditWindow), typeof(SceneView)); + window.m_DisablePreviewsForTesting = disablePreviewsForTesting; window.Initialize(guid); window.Focus(); return true; diff --git a/Packages/com.unity.shadergraph/Tests/Editor/UnitTests/TargetTests.cs b/Packages/com.unity.shadergraph/Tests/Editor/UnitTests/TargetTests.cs index 25a26067a69..694eb62dbed 100644 --- a/Packages/com.unity.shadergraph/Tests/Editor/UnitTests/TargetTests.cs +++ b/Packages/com.unity.shadergraph/Tests/Editor/UnitTests/TargetTests.cs @@ -2,7 +2,6 @@ using System.IO; using NUnit.Framework; using UnityEngine; -using UnityEngine.TestTools; using UnityEditor.Graphing; namespace UnityEditor.ShaderGraph.UnitTests @@ -276,7 +275,6 @@ public override void Setup(ref TargetSetupContext context) } [Test] - [UnityPlatform(exclude = new RuntimePlatform[] { RuntimePlatform.WindowsEditor })] // Unstable: https://jira.unity3d.com/browse/UUM-141869 public void CanBuildMultipleShaders() { GraphData graph = new GraphData(); diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/CategoryTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/CategoryTests.cs index 7e3541cfbbf..b24b86a270e 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/CategoryTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/CategoryTests.cs @@ -88,9 +88,13 @@ public void LoadGraph() [OneTimeTearDown] public void Cleanup() { - // Don't spawn ask-to-save dialog - m_Window.graphObject = null; - m_Window.Close(); + if (m_Window != null) + { + m_Window.DiscardChanges(); + m_Window.Close(); + } + m_Window = null; + m_GraphEditorView = null; } [UnityTest] @@ -99,7 +103,7 @@ public IEnumerator AddCategoryTests() Assert.IsNotNull(m_BlackboardTestController.addBlackboardItemsMenu, "Blackboard Add Items menu reference owned by BlackboardTestController is null."); CreateBlackboardCategory(m_BlackboardTestController); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); var newCategory = m_BlackboardTestController.blackboard.Q(); if(newCategory == null) @@ -114,7 +118,7 @@ public IEnumerator DeleteCategoryTests() Assert.IsNotNull(m_BlackboardTestController.addBlackboardItemsMenu, "Blackboard Add Items menu reference owned by BlackboardTestController is null."); CreateBlackboardCategory(m_BlackboardTestController); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); var categories = m_BlackboardTestController.blackboard.Query().ToList(); if (categories != null) @@ -126,12 +130,12 @@ public IEnumerator DeleteCategoryTests() // Select the new category ShaderGraphUITestHelpers.SendMouseEvent(m_Window, newCategory, EventType.MouseDown, positionOffset: new Vector2(40, 10)); // Wait a frame - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); ShaderGraphUITestHelpers.SendMouseEvent(m_Window, newCategory, EventType.MouseUp, positionOffset:new Vector2(40, 10)); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); // Then send delete command ShaderGraphUITestHelpers.SendDeleteCommand(m_Window, newCategory); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.IsTrue(m_BlackboardTestController.blackboard.Query().ToEnumerable().Count() == 1, "Failed to delete blackboard category view"); } @@ -145,7 +149,7 @@ public IEnumerator DuplicateCategoryTests() Assert.IsNotNull(m_BlackboardTestController.addBlackboardItemsMenu, "Blackboard Add Items menu reference owned by BlackboardTestController is null."); CreateBlackboardCategory(m_BlackboardTestController); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); var categories = m_BlackboardTestController.blackboard.Query().ToList(); if (categories != null) @@ -157,12 +161,12 @@ public IEnumerator DuplicateCategoryTests() var categoryClickOffset = new Vector2(40, 10); // Select the new category ShaderGraphUITestHelpers.SendMouseEvent(m_Window, newCategory, EventType.MouseDown, positionOffset: categoryClickOffset); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); ShaderGraphUITestHelpers.SendMouseEvent(m_Window, newCategory, EventType.MouseUp, positionOffset: categoryClickOffset); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); // Then send duplicate command ShaderGraphUITestHelpers.SendDuplicateCommand(m_Window); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); var categoryViewsList = m_BlackboardTestController.blackboard.Query().ToList(); Assert.IsTrue(categoryViewsList.Count() == 3, "Failed to duplicate blackboard category view"); Assert.IsTrue(categoryViewsList[1].title == categoryViewsList[2].title, "Failed to duplicate blackboard category"); @@ -177,7 +181,7 @@ public IEnumerator RenameCategoryTests() Assert.IsNotNull(m_BlackboardTestController.addBlackboardItemsMenu, "Blackboard Add Items menu reference owned by BlackboardTestController is null."); CreateBlackboardCategory(m_BlackboardTestController); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); var categories = m_BlackboardTestController.blackboard.Query().ToList(); if (categories != null) @@ -192,7 +196,7 @@ public IEnumerator RenameCategoryTests() changeCategoryNameAction.categoryGuid = newCategory.viewModel.associatedCategoryGuid; newCategory.viewModel.requestModelChangeAction(changeCategoryNameAction); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.IsTrue(newCategory.title == "Test", "Failed to rename blackboard category"); } @@ -206,7 +210,7 @@ public IEnumerator ExpandCollapseCategoryTests() Assert.IsNotNull(m_BlackboardTestController.addBlackboardItemsMenu, "Blackboard Add Items menu reference owned by BlackboardTestController is null."); CreateBlackboardCategory(m_BlackboardTestController); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); var categories = m_BlackboardTestController.blackboard.Query().ToList(); if (categories != null) @@ -218,13 +222,13 @@ public IEnumerator ExpandCollapseCategoryTests() var categoryClickOffset = new Vector2(10, 10); // Trigger category collapse ShaderGraphUITestHelpers.SendMouseEvent(m_Window, newCategory, EventType.MouseDown, positionOffset: categoryClickOffset); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); ShaderGraphUITestHelpers.SendMouseEvent(m_Window, newCategory, EventType.MouseUp, positionOffset: categoryClickOffset); Assert.IsTrue(newCategory.viewModel.isExpanded == false, "Failed to collapse blackboard category"); // Trigger category expand ShaderGraphUITestHelpers.SendMouseEvent(m_Window, newCategory, EventType.MouseDown, positionOffset: categoryClickOffset); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); ShaderGraphUITestHelpers.SendMouseEvent(m_Window, newCategory, EventType.MouseUp, positionOffset: categoryClickOffset); Assert.IsTrue(newCategory.viewModel.isExpanded, "Failed to collapse blackboard category"); } diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/ContextBlockTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/ContextBlockTests.cs index 90bea1b59d8..c31fa1487f8 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/ContextBlockTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/ContextBlockTests.cs @@ -51,9 +51,13 @@ public void LoadGraph() [OneTimeTearDown] public void Cleanup() { - // Don't spawn ask-to-save dialog - m_Window.graphObject = null; - m_Window.Close(); + if (m_Window != null) + { + m_Window.DiscardChanges(); + m_Window.Close(); + } + m_Window = null; + m_GraphEditorView = null; } [Test] diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/FileMoveTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/FileMoveTests.cs index bad320832e3..cd06336eda5 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/FileMoveTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/FileMoveTests.cs @@ -81,7 +81,7 @@ public void Setup() public void OpenGraphWindow(string graphName) { // Open up the window - if (!ShaderGraphImporterEditor.ShowGraphEditWindow(graphName)) + if (!ShaderGraphImporterEditor.ShowGraphEditWindow(graphName, disablePreviewsForTesting: true)) { Assert.Fail("ShaderGraphImporterEditor.ShowGraphEditWindow could not open " + graphName); } @@ -107,7 +107,7 @@ public void CloseGraphWindow() { if (m_Window != null) { - m_Window.graphObject = null; // Don't spawn ask-to-save dialog + m_Window.DiscardChanges(); m_Window.Close(); } m_Window = null; @@ -153,31 +153,31 @@ public void Cleanup() [UnityTest] public IEnumerator MoveDirectoryTests() { - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); // rename the directory AssetDatabase.MoveAsset(targetUnityDirectoryPath, targetUnityDirectoryPath2); - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); var graphPath = targetUnityDirectoryPath2 + "/ShaderGraph.shadergraph"; OpenGraphWindow(graphPath); - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); // try adding the subgraph node -- see if the asset still works after the files have been moved m_Graph = m_Window.graphObject.graph as GraphData; @@ -185,21 +185,21 @@ public IEnumerator MoveDirectoryTests() var node = new SubGraphNode { asset = subgraph }; m_Graph.AddNode(node); - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); CloseGraphWindow(); // Wait for any potential compilation to finish before entering cleanup, which deletes the files while (ShaderUtil.anythingCompiling) { - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } } } diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/GroupTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/GroupTests.cs index 0226578be08..5776e60171b 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/GroupTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/GroupTests.cs @@ -54,6 +54,18 @@ public void LoadGraph() } + [OneTimeTearDown] + public void Cleanup() + { + if (m_Window != null) + { + m_Window.DiscardChanges(); + m_Window.Close(); + } + m_Window = null; + m_GraphEditorView = null; + } + class TestExecuteCommandEvent : ExecuteCommandEvent { public void SetCommandName(string command) @@ -72,8 +84,8 @@ public IEnumerator TestEmptyGroupPastePosition() BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy); var pasteMethodInfo = materialGraphViewType.GetMethod("PasteCallback", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy); - - var mousePositionPropertyInfo = materialGraphViewType.GetProperty("cachedMousePosition", + + var mousePositionPropertyInfo = materialGraphViewType.GetProperty("cachedMousePosition", typeof(Vector2)); Assert.NotNull(cutMethodInfo, "CutSelectionCallback method not found."); @@ -84,15 +96,15 @@ public IEnumerator TestEmptyGroupPastePosition() .Where(x => x.userData.title == "Empty Group") .ToList(); - Assert.AreEqual(1, groupList.Count()); + Assert.AreEqual(1, groupList.Count()); + + - - materialGraphView.ClearSelection(); materialGraphView.AddToSelection(groupList[0]); cutMethodInfo.Invoke(materialGraphView, null); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); groupList = materialGraphView.Query() .Where(x => x.userData.title == "Empty Group") @@ -102,19 +114,19 @@ public IEnumerator TestEmptyGroupPastePosition() mousePositionPropertyInfo.SetValue(materialGraphView, new Vector2(100,100)); pasteMethodInfo.Invoke(materialGraphView, null); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); mousePositionPropertyInfo.SetValue(materialGraphView, new Vector2(100,200)); pasteMethodInfo.Invoke(materialGraphView, null); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); groupList = materialGraphView.Query() .Where(x => x.userData.title == "Empty Group") .ToList(); - + Assert.AreEqual(2, groupList.Count()); - Assert.AreNotEqual(groupList[0].GetPosition().position, groupList[1].GetPosition().position, + Assert.AreNotEqual(groupList[0].GetPosition().position, groupList[1].GetPosition().position, "When the cursor position changes, the pasted group's position should be adjusted accordingly"); } diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/MemoryLeakTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/MemoryLeakTests.cs index 4765806c96e..fd364d7cdeb 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/MemoryLeakTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/MemoryLeakTests.cs @@ -39,20 +39,25 @@ public void OpenGraphWindow() } [TearDown] - public void OnTearDown() + public void CloseGraphWindow() { - + if (m_Window != null) + { + m_Window.DiscardChanges(); + m_Window.Close(); + } + m_Window = null; + m_GraphEditorView = null; } [UnityTest] public IEnumerator WindowDisposeTest() { - // Close the graph window, and don't spawn ask-to-save dialog - m_Window.graphObject = null; + m_Window.DiscardChanges(); m_Window.Close(); while(m_Window.WereWindowResourcesDisposed != true) - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.IsTrue(m_Window.WereWindowResourcesDisposed); } diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/NodeTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/NodeTests.cs index a8aaa32dae2..d10246e77ce 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/NodeTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/NodeTests.cs @@ -119,8 +119,18 @@ public IEnumerator TransformInverses() } [UnityTest] - [Timeout(840000)] - public IEnumerator TransformABC() + [Timeout(420000)] + public IEnumerator TransformABC_Position() { yield return TransformABCImpl(ConversionType.Position); } + + [UnityTest] + [Timeout(420000)] + public IEnumerator TransformABC_Direction() { yield return TransformABCImpl(ConversionType.Direction); } + + [UnityTest] + [Timeout(420000)] + public IEnumerator TransformABC_Normal() { yield return TransformABCImpl(ConversionType.Normal); } + + IEnumerator TransformABCImpl(ConversionType conversionType) { // Test that transforming from A->B then B->C is the same as A->C (for all A,B,C) string graphPath = "Assets/CommonAssets/Graphs/NodeTests/TransformABC.shadergraph"; @@ -132,39 +142,37 @@ public IEnumerator TransformABC() var A_to_B = xforms.FirstOrDefault(n => (n.conversion.from == CoordinateSpace.Object) && (n.conversion.to == CoordinateSpace.View)); var B_to_C = xforms.FirstOrDefault(n => (n.conversion.from == CoordinateSpace.View) && (n.conversion.to == CoordinateSpace.Tangent)); - // check all possible settings - foreach (ConversionType conversionType in Enum.GetValues(typeof(ConversionType))) + foreach (CoordinateSpace A in Enum.GetValues(typeof(CoordinateSpace))) { - foreach (CoordinateSpace A in Enum.GetValues(typeof(CoordinateSpace))) + foreach (CoordinateSpace B in Enum.GetValues(typeof(CoordinateSpace))) { - foreach (CoordinateSpace B in Enum.GetValues(typeof(CoordinateSpace))) + foreach (CoordinateSpace C in Enum.GetValues(typeof(CoordinateSpace))) { - foreach (CoordinateSpace C in Enum.GetValues(typeof(CoordinateSpace))) - { - // Transforming from or through screen space appears to be lossy in our current implementations. - if (A == CoordinateSpace.Screen || B == CoordinateSpace.Screen) - continue; - - // setup transforms - A_to_C.conversion = new CoordinateSpaceConversion(A, C); - A_to_C.conversionType = conversionType; - A_to_C.normalize = false; - - A_to_B.conversion = new CoordinateSpaceConversion(A, B); - A_to_B.conversionType = conversionType; - A_to_B.normalize = false; - - B_to_C.conversion = new CoordinateSpaceConversion(B, C); - B_to_C.conversionType = conversionType; - B_to_C.normalize = false; - - RunNodeTest(graph, $"TransformABC_{A}_{B}_{C}_{conversionType}", errorThreshold: 1); - } - - // have to yield to let a frame pass or it will break - // (unity only releases some resources at the end of the frame) - yield return null; + // Transforming from or through screen space appears to be lossy in our current implementations. + if (A == CoordinateSpace.Screen || B == CoordinateSpace.Screen) + continue; + + if (A == B || B == C) + continue; + + A_to_C.conversion = new CoordinateSpaceConversion(A, C); + A_to_C.conversionType = conversionType; + A_to_C.normalize = false; + + A_to_B.conversion = new CoordinateSpaceConversion(A, B); + A_to_B.conversionType = conversionType; + A_to_B.normalize = false; + + B_to_C.conversion = new CoordinateSpaceConversion(B, C); + B_to_C.conversionType = conversionType; + B_to_C.normalize = false; + + RunNodeTest(graph, $"TransformABC_{A}_{B}_{C}_{conversionType}", errorThreshold: 1); } + + // have to yield to let a frame pass or it will break + // (unity only releases some resources at the end of the frame) + yield return null; } } ReportTests(); diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/PropertyTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/PropertyTests.cs index 7ed8b0b7e96..e64cd11546a 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/PropertyTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/PropertyTests.cs @@ -41,7 +41,7 @@ public void LoadGraph() m_Graph.CollectShaderProperties(m_Collector, GenerationMode.ForReals); // Open up the window - if (!ShaderGraphImporterEditor.ShowGraphEditWindow(kGraphName)) + if (!ShaderGraphImporterEditor.ShowGraphEditWindow(kGraphName, disablePreviewsForTesting: true)) { Assert.Fail("ShaderGraphImporterEditor.ShowGraphEditWindow could not open " + kGraphName); } @@ -73,9 +73,12 @@ public void LoadGraph() [OneTimeTearDown] public void Cleanup() { - // Don't spawn ask-to-save dialog - m_Window.graphObject = null; - m_Window.Close(); + if (m_Window != null) + { + m_Window.DiscardChanges(); + m_Window.Close(); + } + m_Window = null; } [Test] @@ -112,7 +115,7 @@ public IEnumerator ResetPropertyReference() Assert.AreEqual(1, m_Window.graphEditorView.graphView.selection.Count(), "Could not select property!"); // Wait a frame for the inspector updates to trigger - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); // Cannot actually spawn the right click menu for testing due to ContextMenuManipulators spawning @@ -138,7 +141,7 @@ public IEnumerator BlackboardSelectionHistory() var item = menuItems[i]; var menuFunction = item.GetNonPrivateField("func"); menuFunction?.Invoke(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } var fieldViewElements = m_GraphEditorView.Query("SGBlackboardField"); @@ -157,7 +160,7 @@ public IEnumerator BlackboardSelectionHistory() m_GraphEditorView.graphView.AddToSelection(blackboardPropertyView); Undo.IncrementCurrentGroup(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } var lastSelection = selectionOrder[^1]; @@ -166,7 +169,7 @@ public IEnumerator BlackboardSelectionHistory() Assert.AreEqual(lastSelection, currentSelection); EditorApplication.ExecuteMenuItem("Edit/Previous Selection"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); var secondToLastSelection = selectionOrder[^2]; currentSelection = m_GraphEditorView.graphView.selection[0]; @@ -174,7 +177,9 @@ public IEnumerator BlackboardSelectionHistory() Assert.AreEqual(secondToLastSelection, currentSelection); EditorApplication.ExecuteMenuItem("Edit/Previous Selection"); - yield return new WaitForSecondsRealtime(0.1f); + LogAssert.ignoreFailingMessages = true; + try { yield return new WaitForSecondsRealtime(0.1f); } + finally { LogAssert.ignoreFailingMessages = false; } var thirdToLastSelection = selectionOrder[^3]; currentSelection = m_GraphEditorView.graphView.selection[0]; @@ -182,14 +187,14 @@ public IEnumerator BlackboardSelectionHistory() Assert.AreEqual(thirdToLastSelection, currentSelection); EditorApplication.ExecuteMenuItem("Edit/Next Selection"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); currentSelection = m_GraphEditorView.graphView.selection[0]; Assert.AreEqual(secondToLastSelection, currentSelection); EditorApplication.ExecuteMenuItem("Edit/Next Selection"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); currentSelection = m_GraphEditorView.graphView.selection[0]; @@ -208,7 +213,7 @@ public IEnumerator AddInputTests() { var menuFunction = item.GetNonPrivateField("func"); menuFunction?.Invoke(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } } @@ -225,7 +230,7 @@ public IEnumerator RemoveInputTests() { var menuFunction = item.GetNonPrivateField("func"); menuFunction?.Invoke(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } var cachedPropertyList = m_Window.graphObject.graph.properties.ToList(); @@ -238,10 +243,10 @@ public IEnumerator RemoveInputTests() m_GraphEditorView.graphView.ClearSelection(); m_GraphEditorView.graphView.AddToSelection(blackboardPropertyView); Assert.AreEqual(1, m_Window.graphEditorView.graphView.selection.Count(), "Could not select property!"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); ShaderGraphUITestHelpers.SendDeleteCommand(m_Window, m_GraphEditorView.graphView); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } var cachedKeywordList = m_Window.graphObject.graph.keywords.ToList(); @@ -254,15 +259,15 @@ public IEnumerator RemoveInputTests() m_GraphEditorView.graphView.ClearSelection(); m_GraphEditorView.graphView.AddToSelection(blackboardPropertyView); Assert.AreEqual(1, m_Window.graphEditorView.graphView.selection.Count(), "Could not select keyword!"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); ShaderGraphUITestHelpers.SendDeleteCommand(m_Window, m_GraphEditorView.graphView); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } // Should be no properties, keywords, dropdowns Assert.IsTrue(m_Window.graphObject.graph.properties.Count() == 0 && m_Window.graphObject.graph.dropdowns.Count() == 0); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } [Test] @@ -320,7 +325,7 @@ public IEnumerator DuplicateInputTest() { var menuFunction = item.GetNonPrivateField("func"); menuFunction?.Invoke(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } var cachedPropertyList = m_Window.graphObject.graph.properties.ToList(); @@ -333,10 +338,10 @@ public IEnumerator DuplicateInputTest() m_GraphEditorView.graphView.ClearSelection(); m_GraphEditorView.graphView.AddToSelection(blackboardPropertyView); Assert.AreEqual(1, m_Window.graphEditorView.graphView.selection.Count(), "Could not select property!"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); ShaderGraphUITestHelpers.SendDuplicateCommand(m_Window); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } var cachedKeywordList = m_Window.graphObject.graph.keywords.ToList(); @@ -349,10 +354,10 @@ public IEnumerator DuplicateInputTest() m_GraphEditorView.graphView.ClearSelection(); m_GraphEditorView.graphView.AddToSelection(blackboardPropertyView); Assert.AreEqual(1, m_Window.graphEditorView.graphView.selection.Count(), "Could not select keyword!"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); ShaderGraphUITestHelpers.SendDuplicateCommand(m_Window); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } } @@ -377,7 +382,7 @@ public IEnumerator RestoreSelectAfterUndoRedoTest() { var menuFunction = item.GetNonPrivateField("func"); menuFunction?.Invoke(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); addedFloat = true; break; } @@ -385,12 +390,12 @@ public IEnumerator RestoreSelectAfterUndoRedoTest() if (!addedFloat) Assert.Fail("Failed to add a Float property."); - + var cachedPropertyList = m_Window.graphObject.graph.properties.ToList(); var property = cachedPropertyList.Last(); //< last is property added above. var vector1Property = property as Vector1ShaderProperty; - Assert.IsNotNull(vector1Property, "Last property is not Float."); + Assert.IsNotNull(vector1Property, "Last property is not Float."); var blackboardRow = m_BlackboardTestController.GetBlackboardRow(property); Assert.IsNotNull(blackboardRow, "No blackboard row found associated with blackboard property."); var blackboardPropertyView = blackboardRow.Q(); @@ -403,14 +408,14 @@ public IEnumerator RestoreSelectAfterUndoRedoTest() m_Window.graphObject.RegisterCompleteObjectUndo("Property Change"); vector1Property.value = 0.245f; - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.AreEqual("Property Change", Undo.GetCurrentGroupName(), "Failed to register undo."); Undo.PerformUndo(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Undo.PerformRedo(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.AreEqual(1, m_GraphEditorView.graphView.selection.Count(), "Failed to restore select property!"); } diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/SaveLoadTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/SaveLoadTests.cs index 7a0d30350ef..09ae30043ea 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/SaveLoadTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/SaveLoadTests.cs @@ -19,9 +19,6 @@ namespace UnityEditor.ShaderGraph.UnitTests { [TestFixture] - [UnityPlatform(exclude = new RuntimePlatform[] { - RuntimePlatform.WindowsEditor // Disabled for Instability https://jira.unity3d.com/browse/UUM-141869 - })] internal class SaveLoadTests { GraphEditorView m_GraphEditorView; @@ -82,7 +79,7 @@ public void Cleanup() public void OpenGraphWindow(string graphName) { // Open up the window - if (!ShaderGraphImporterEditor.ShowGraphEditWindow(graphName)) + if (!ShaderGraphImporterEditor.ShowGraphEditWindow(graphName, disablePreviewsForTesting: true)) { Assert.Fail("ShaderGraphImporterEditor.ShowGraphEditWindow could not open " + graphName); } @@ -108,7 +105,7 @@ public void CloseGraphWindow() { if (m_Window != null) { - m_Window.graphObject = null; // Don't spawn ask-to-save dialog + m_Window.DiscardChanges(); m_Window.Close(); } m_Window = null; @@ -132,13 +129,13 @@ IEnumerator SaveLoadSaveDoesntChangeFile(string assetPath) // Load! OpenGraphWindow(assetPath); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); string originalFile = File.ReadAllText(assetPath); var fileInfo = new FileInfo(assetPath); var originalModifiedTime = fileInfo.LastWriteTime; - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.IsFalse(m_Window.FileOnDiskHasChanged(), $"Loading the graph window should not change the file on disk ({assetPath})."); bool firstSaveChanged = m_Window.GraphHasChangedSinceLastSerialization(); @@ -154,21 +151,23 @@ IEnumerator SaveLoadSaveDoesntChangeFile(string assetPath) Assert.That(originalModifiedTime.Equals(firstSaveModifiedTime), Is.EqualTo(!changedOnFirstSave), $"SaveAsset should return true only when the file on disk is modified ({assetPath})."); Assert.That(originalFile.Equals(firstSaveFile), Is.EqualTo(!firstSaveChanged), $"GraphHasChangedSinceLastSerialization should only return true when the serialized file would be different ({assetPath})."); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); CloseGraphWindow(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); #if (UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX) // attempt to workaround an issue with file timestamp granularity - yield return new WaitForSecondsRealtime(1.5f); + LogAssert.ignoreFailingMessages = true; + try { yield return new WaitForSecondsRealtime(1.5f); } + finally { LogAssert.ignoreFailingMessages = false; } #endif // Load! OpenGraphWindow(assetPath); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.IsFalse(m_Window.FileOnDiskHasChanged(), $"Loading the graph window should not change the file on disk 2 ({assetPath})."); bool secondSaveDirty = m_Window.GraphHasChangedSinceLastSerialization(); @@ -187,11 +186,11 @@ IEnumerator SaveLoadSaveDoesntChangeFile(string assetPath) Assert.That(firstSaveFile.Equals(secondSaveFile), Is.True, $"Loading and saving a graph file twice should not result in changes to the file on disk ({assetPath})."); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); CloseGraphWindow(); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); } } } diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/ShaderGraphUITestHelpers.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/ShaderGraphUITestHelpers.cs index 0e6c15ce0e9..38590254ab1 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/ShaderGraphUITestHelpers.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/ShaderGraphUITestHelpers.cs @@ -1,4 +1,5 @@ using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; @@ -9,6 +10,7 @@ using UnityEditor.ShaderGraph.Drawing; using UnityEditor.ShaderGraph.UnitTests; using UnityEngine; +using UnityEngine.TestTools; using UnityEngine.UIElements; using UnityEngine.UIElements.StyleSheets; using UIECursor = UnityEngine.UIElements.Cursor; @@ -100,5 +102,24 @@ public static Vector2 GetScreenPosition(EditorWindow parentWindow, VisualElement return screenPosition; } + // Yields one frame with LogAssert failing-message suppression; silences the unpredictable repaint-time assert in Image.OnGenerateVisualContent (Modules/UIElements/Core/Controls/Image.cs). + public static IEnumerator SuppressLogFailures() + { + LogAssert.ignoreFailingMessages = true; + try { yield return null; } + finally { LogAssert.ignoreFailingMessages = false; } + } + + // Same as above for a nested coroutine that spans multiple frames. + public static IEnumerator SuppressLogFailures(IEnumerator inner) + { + LogAssert.ignoreFailingMessages = true; + try + { + while (inner.MoveNext()) + yield return inner.Current; + } + finally { LogAssert.ignoreFailingMessages = false; } + } } } diff --git a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/SubWindowTests.cs b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/SubWindowTests.cs index 36cc1d59aa5..a23aad7ef2a 100644 --- a/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/SubWindowTests.cs +++ b/Tests/SRPTests/Projects/ShaderGraph/Assets/CommonAssets/Editor/SubWindowTests.cs @@ -16,9 +16,6 @@ namespace UnityEditor.ShaderGraph.UnitTests { [TestFixture] - [UnityPlatform(exclude = new RuntimePlatform[] { - RuntimePlatform.WindowsEditor // Disabled for Instability https://jira.unity3d.com/browse/UUM-141869 - })] internal class SubWindowTests { static string kGraphName = "Assets/CommonAssets/Graphs/SubWindow.shadergraph"; @@ -30,7 +27,7 @@ internal class SubWindowTests public void OpenGraphWindow() { // Open up the window - if (!ShaderGraphImporterEditor.ShowGraphEditWindow(kGraphName)) + if (!ShaderGraphImporterEditor.ShowGraphEditWindow(kGraphName, disablePreviewsForTesting: true)) { Assert.Fail("ShaderGraphImporterEditor.ShowGraphEditWindow could not open " + kGraphName); } @@ -54,8 +51,12 @@ public void OpenGraphWindow() [TearDown] public void CloseGraphWindow() { - m_Window.graphObject = null; // Don't spawn ask-to-save dialog - m_Window.Close(); + if (m_Window != null) + { + m_Window.DiscardChanges(); + m_Window.Close(); + } + m_Window = null; } private void ToggleSubWindows(bool showBlackboard, bool showPreview, bool showInspector) @@ -75,29 +76,29 @@ public IEnumerator CanToggleSubWindows() // All visible ToggleSubWindows(true, true, true); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.That(m_GraphEditorView.Q().visible, Is.True, "Blackboard is not visible when it should be. (1st pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "MasterPreviewView is not visible when it should be. (1st pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "Inspector is not visible when it should be. (1st pass)"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); // None Visible ToggleSubWindows(false, false, false); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard remained visible when it should not be. (2nd pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView remained visible when it should not be. (2nd pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Inspector remained visible when it should not be. (2nd pass)"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); // Blackboard Only ToggleSubWindows(true, false, false); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.That(m_GraphEditorView.Q().visible, Is.True, "Blackboard is not visible when it should be. (3rd pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView remained visible when it should not be. (3rd pass)"); @@ -106,18 +107,18 @@ public IEnumerator CanToggleSubWindows() // Preview Only ToggleSubWindows(false, true, false); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard remained visible when it should not be. (4th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "MasterPreviewView is not visible when it should be. (4th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "InspectorView remained visible when it should not be. (4th pass)"); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); // Inspector Only ToggleSubWindows(false, false, true); - yield return null; + yield return ShaderGraphUITestHelpers.SuppressLogFailures(); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard remained visible when it should not be. (5th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView remained visible when it should not be. (5th pass)"); @@ -141,61 +142,61 @@ private IEnumerator ToggleSubWindowsThenCloseThenReopen(bool showBlackboard, boo [UnityTest] public IEnumerator SubWindowStatusRememberedAfterCloseAndReopen() { - yield return ToggleSubWindowsThenCloseThenReopen(true, true, true); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(true, true, true)); Assert.That(m_GraphEditorView.Q().visible, Is.True, "Blackboard is NOT visible when it should be. (1st pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "MasterPreviewView is NOT visible when it should be. (1st pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "InspectorView is NOT visible when it should be. (1st pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(true, true, true); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(true, true, true)); Assert.That(m_GraphEditorView.Q().visible, Is.True, "Blackboard is NOT visible when it should be. (2nd pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "MasterPreviewView is NOT visible when it should be. (2nd pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "InspectorView is NOT visible when it should be. (2nd pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(true, false, false); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(true, false, false)); Assert.That(m_GraphEditorView.Q().visible, Is.True, "Blackboard is NOT visible when it should be. (3rd pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView IS visible when it should not be. (3rd pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "InspectorView IS visible when it should not be. (3rd pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(true, false, false); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(true, false, false)); Assert.That(m_GraphEditorView.Q().visible, Is.True, "Blackboard is NOT visible when it should be. (4th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView IS visible when it should not be. (4th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "InspectorView IS visible when it should not be. (4th pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(false, true, false); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(false, true, false)); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard IS visible when it should not be. (5th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "MasterPreviewView is NOT visible when it should not be. (5th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "InspectorView IS visible when it should not be. (5th pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(false, true, false); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(false, true, false)); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard IS visible when it should not be. (6th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "MasterPreviewView is NOT visible when it should not be. (6th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "InspectorView IS visible when it should not be. (6th pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(false, false, true); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(false, false, true)); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard IS visible when it should not be. (7th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView IS visible when it should not be. (7th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "InspectorView IS NOT visible when it should be. (7th pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(false, false, true); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(false, false, true)); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard IS visible when it should not be. (8th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView is NOT visible when it should not be. (8th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.True, "InspectorView IS NOT visible when it should be. (8th pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(false, false, false); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(false, false, false)); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard IS visible when it should not be. (9th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView IS visible when it should not be. (9th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "InspectorView IS visible when it should not be. (9th pass)"); - yield return ToggleSubWindowsThenCloseThenReopen(false, false, false); + yield return ShaderGraphUITestHelpers.SuppressLogFailures(ToggleSubWindowsThenCloseThenReopen(false, false, false)); Assert.That(m_GraphEditorView.Q().visible, Is.False, "Blackboard IS visible when it should not be. (10th pass)"); Assert.That(m_GraphEditorView.Q().visible, Is.False, "MasterPreviewView IS visible when it should not be. (10th pass)"); From d71fe921849544be5f1082599d5d50bc08399388 Mon Sep 17 00:00:00 2001 From: Alexandre Thibodeau Date: Thu, 25 Jun 2026 17:16:05 +0000 Subject: [PATCH 006/231] UITK Custom Shader Fixes (Backport to 6.6) --- .../Editor/ShaderGraph/Includes/UITKPass.hlsl | 52 +++++--- .../Targets/UniversalUISubTarget.cs | 10 ++ .../Documentation~/Input-Nodes.md | 2 + .../Documentation~/TableOfContents.md | 2 + .../Documentation~/element-opacity-node.md | 26 ++++ .../Documentation~/element-tint-node.md | 26 ++++ .../Data/Nodes/Input/UI/ElementOpacityNode.cs | 52 ++++++++ .../Nodes/Input/UI/ElementOpacityNode.cs.meta | 2 + .../Data/Nodes/Input/UI/ElementTintNode.cs | 52 ++++++++ .../Nodes/Input/UI/ElementTintNode.cs.meta | 2 + .../Data/Nodes/UI/DefaultBitmapTextNode.cs | 14 +-- .../Data/Nodes/UI/DefaultSDFTextNode.cs | 8 +- .../Data/Nodes/UI/RenderTypeBranchNode.cs | 10 +- ...ildUIVertexDescriptionInputs.template.hlsl | 118 ++++++++++++++++++ ...VertexDescriptionInputs.template.hlsl.meta | 7 ++ .../Targets/UITK/Templates/PassUI.template | 3 +- .../Editor/Generation/Targets/UITK/UIData.cs | 9 ++ .../Generation/Targets/UITK/UIStructs.cs | 34 +++++ .../Generation/Targets/UITK/UISubTarget.cs | 63 +++++++++- ...uildSurfaceDescriptionInputs.template.hlsl | 1 + 20 files changed, 455 insertions(+), 38 deletions(-) create mode 100644 Packages/com.unity.shadergraph/Documentation~/element-opacity-node.md create mode 100644 Packages/com.unity.shadergraph/Documentation~/element-tint-node.md create mode 100644 Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementOpacityNode.cs create mode 100644 Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementOpacityNode.cs.meta create mode 100644 Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementTintNode.cs create mode 100644 Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementTintNode.cs.meta create mode 100644 Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/BuildUIVertexDescriptionInputs.template.hlsl create mode 100644 Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/BuildUIVertexDescriptionInputs.template.hlsl.meta diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UITKPass.hlsl b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UITKPass.hlsl index 4916ca1ac73..e32791f7b7c 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UITKPass.hlsl +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Includes/UITKPass.hlsl @@ -14,29 +14,37 @@ PackedVaryings uie_custom_vert(Attributes input) UNITY_SETUP_INSTANCE_ID(input); UNITY_TRANSFER_INSTANCE_ID(input, uieInput); - v2f uieOutput = uie_std_vert(uieInput); - Varyings varyings = (Varyings)0; - varyings.positionCS = uieOutput.pos; - // Run the shader graph vertex stage so custom interpolators (and any other - // VertexDescription outputs) can be written into the Varyings. Position/Normal/ - // Tangent on VertexDescription are not used here because UITK's vertex transform - // is owned by uie_std_vert above; only opt-in CIs are forwarded. + // Run the graph vertex stage and write its (possibly modified) element-local Position into the + // vertex; uie_std_vert then applies translation -> bone -> group -> clip. A pass-through graph + // returns input.positionOS, so the output matches the built-in path. uie_build_vertex also + // forwards the custom interpolators into the Varyings. #if defined(FEATURES_GRAPH_VERTEX) - VertexDescriptionInputs vertexDescriptionInputs = BuildVertexDescriptionInputs(input); - VertexDescription vertexDescription = VertexDescriptionFunction(vertexDescriptionInputs); - #if defined(CUSTOMINTERPOLATOR_VARYPASSTHROUGH_FUNC) - CustomInterpolatorPassThroughFunc(varyings, vertexDescription); - #endif + uieInput.vertex.xyz = uie_build_vertex(input, varyings); #endif + v2f uieOutput = uie_std_vert(uieInput); + + varyings.positionCS = uieOutput.pos; + + // Load the element record once and reuse it for opacity and the world position below; uie_std_vert + // loads its own copy internally, but sharing here avoids the extra reads on the custom path. + uint transformId, opacityId; + float2 translation; + uie_load_element_info(uieInput, transformId, opacityId, translation); + + // Custom shaders carry the straight tint (vertexColor * dynamicColor, no opacity, no premultiply) + // and the per-element opacity separately; opacity is applied at the end of the fragment. This + // ignores uie_std_vert's baked color, which is for the built-in path only. + varyings.color = uie_element_tint(uieInput.color, uieInput.packedIds); + varyings.opacity = ReadShaderInfo(uie_id_to_texel_opacity(opacityId)).a; + + // The element world position is group * bone * (local + translation). uie_local_to_world stops at + // group space, so apply the group->world transform on top. #ifdef VARYINGS_NEED_POSITION_WS - float3 positionWS = TransformObjectToWorld(input.positionOS); - varyings.positionWS = positionWS; + varyings.positionWS = TransformObjectToWorld(uie_local_to_world(uieInput.vertex, transformId, translation)); #endif - - varyings.color = uieOutput.color; // User UV0-UV3 are forwarded to texCoord0-3 on demand (opt-in via PanelSettings.extraVertexChannels). // input.uv0 carries layoutUV in .zw — the surface-input builder strips it before exposing uv0 to graphs. @@ -71,6 +79,10 @@ UIE_FRAG_T uie_custom_frag(PackedVaryings packedInput) : SV_Target Varyings varyings = UnpackVaryings(packedInput); SurfaceDescriptionInputs surfaceDescriptionInputs = BuildSurfaceDescriptionInputs(varyings); + // BuildSurfaceDescriptionInputs only populates opacity when a node requires it; force it from the + // carried varying so the Element Color node's Opacity output is correct even on its own. + surfaceDescriptionInputs.opacity = varyings.opacity; + SurfaceDescription surfaceDescription = SurfaceDescriptionFunction(surfaceDescriptionInputs); // TODO: In the future, we should try to use surfaceDescription.coverage instead of computing coverage outside @@ -89,5 +101,13 @@ UIE_FRAG_T uie_custom_frag(PackedVaryings packedInput) : SV_Target surfaceDescription.Alpha *= coverage; + // Apply the per-element opacity here, at the very end, instead of baking it into the tint in the + // vertex. Authors can disable this (Graph Settings) and apply opacity themselves via the Element + // Opacity node's output. Read the raw varying rather than surfaceDescriptionInputs.opacity: + // the latter is only populated when a node requires it, but this apply always needs it. +#if defined(UITK_AUTOMATIC_OPACITY) + surfaceDescription.Alpha *= varyings.opacity; +#endif + return float4(surfaceDescription.BaseColor, surfaceDescription.Alpha); } diff --git a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalUISubTarget.cs b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalUISubTarget.cs index e43d46482b4..fa20bd82e9a 100644 --- a/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalUISubTarget.cs +++ b/Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalUISubTarget.cs @@ -108,6 +108,16 @@ public override void GetPropertiesGUI(ref TargetPropertyGUIContext context, Acti target.alphaMode = (AlphaMode)evt.newValue; onChange(); }); + + context.AddProperty("Automatic Opacity", new UnityEngine.UIElements.Toggle() { value = uiData.automaticOpacity }, (evt) => + { + if (Equals(uiData.automaticOpacity, evt.newValue)) + return; + + registerUndo("Change Automatic Opacity"); + uiData.automaticOpacity = evt.newValue; + onChange(); + }); } } } diff --git a/Packages/com.unity.shadergraph/Documentation~/Input-Nodes.md b/Packages/com.unity.shadergraph/Documentation~/Input-Nodes.md index 3f8a10a3760..0001317e2fc 100644 --- a/Packages/com.unity.shadergraph/Documentation~/Input-Nodes.md +++ b/Packages/com.unity.shadergraph/Documentation~/Input-Nodes.md @@ -113,3 +113,5 @@ Supply shaders with essential data such as constants, mesh attributes, gradients | [Element Texture UV](element-texture-uv-node.md) | Provides the texture coordinates (UV) typically used to sample the texture assigned to a UI element. | | [Element Layout UV](element-layout-uv-node.md) | Provides the layout UV coordinates within a UI element's layout rectangle. | | [Element Texture Size](element-texture-size-node.md) | Provides the size of the texture assigned to a UI element. | +| [Element Tint](element-tint-node.md) | Provides the tint color (vertex color combined with the dynamic color) of a UI element. | +| [Element Opacity](element-opacity-node.md) | Provides the opacity of a UI element. | diff --git a/Packages/com.unity.shadergraph/Documentation~/TableOfContents.md b/Packages/com.unity.shadergraph/Documentation~/TableOfContents.md index cf0f0991e80..27b4a2f08d2 100644 --- a/Packages/com.unity.shadergraph/Documentation~/TableOfContents.md +++ b/Packages/com.unity.shadergraph/Documentation~/TableOfContents.md @@ -177,8 +177,10 @@ * [Texture Size](Texture-Size-Node.md) * UI * [Element Layout UV](element-layout-uv-node.md) + * [Element Opacity](element-opacity-node.md) * [Element Texture Size](element-texture-size-node.md) * [Element Texture UV](element-texture-uv-node.md) + * [Element Tint](element-tint-node.md) * [Keyword](Keyword-Node.md) * [Material Quality](Material-Quality-Keyword-Node.md) * [Raytracing Quality](Raytracing-Quality-Keyword-Node.md) diff --git a/Packages/com.unity.shadergraph/Documentation~/element-opacity-node.md b/Packages/com.unity.shadergraph/Documentation~/element-opacity-node.md new file mode 100644 index 00000000000..21542705f67 --- /dev/null +++ b/Packages/com.unity.shadergraph/Documentation~/element-opacity-node.md @@ -0,0 +1,26 @@ +--- +uid: element-opacity-node +--- + +# Element Opacity node + +[!include[](include_note_uitk.md)] + +Outputs the opacity of a UI element. + +UI Toolkit fades elements with a per-element opacity that isn't part of the raw vertex data. Use this node to read that opacity. + +By default, the shader applies the element's opacity automatically at the end of the fragment stage. If you turn off **Automatic Opacity** in the Graph Settings, the shader no longer applies it, and you can use this node's output to apply it yourself. + +You can use this node in both the vertex and fragment stages. + +## Ports + +| Name | Direction | Type | Description | +|---------|-----------|---------|----------------------------| +| Opacity | Output | Vector1 | The element's opacity. | + +## Additional resources + +- [Element Tint node](xref:element-tint-node) +- [Element Texture UV node](xref:element-texture-uv-node) diff --git a/Packages/com.unity.shadergraph/Documentation~/element-tint-node.md b/Packages/com.unity.shadergraph/Documentation~/element-tint-node.md new file mode 100644 index 00000000000..7d2ffb48a60 --- /dev/null +++ b/Packages/com.unity.shadergraph/Documentation~/element-tint-node.md @@ -0,0 +1,26 @@ +--- +uid: element-tint-node +--- + +# Element Tint node + +[!include[](include_note_uitk.md)] + +Outputs the tint color of a UI element: its vertex color combined with the element's dynamic color. + +UI Toolkit can override the color of an element at runtime, for example when you set UsageHints.DynamicColor. This override isn't part of the raw vertex color, so reading the vertex color directly doesn't reflect it. Use this node to get the color the element actually renders with. + +The tint does not include the element's opacity. To read the opacity, use the [Element Opacity](xref:element-opacity-node) node. + +You can use this node in both the vertex and fragment stages. + +## Ports + +| Name | Direction | Type | Description | +|-------|-----------|---------|---------------------------------------------------------------------| +| Tint | Output | Vector4 | The element's tint color (vertex color combined with the dynamic color), as RGBA. | + +## Additional resources + +- [Element Opacity node](xref:element-opacity-node) +- [Element Texture UV node](xref:element-texture-uv-node) diff --git a/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementOpacityNode.cs b/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementOpacityNode.cs new file mode 100644 index 00000000000..3822d8b7898 --- /dev/null +++ b/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementOpacityNode.cs @@ -0,0 +1,52 @@ +using UnityEditor.Graphing; +using UnityEditor.Rendering.UITK.ShaderGraph; +using UnityEditor.ShaderGraph.Internal; +using UnityEngine; + +namespace UnityEditor.ShaderGraph +{ + [Title("Input", "UI", "Element Opacity")] + [SubTargetFilter(typeof(IUISubTarget))] + class ElementOpacityNode : AbstractMaterialNode, IGeneratesBodyCode, IMayRequireUITK + { + public const int OpacitySlotId = 0; + + private const string kOpacitySlotName = "Opacity"; + + public override bool hasPreview { get { return false; } } + + public ElementOpacityNode() + { + name = "Element Opacity"; + synonyms = new string[] { "alpha", "fade" }; + UpdateNodeAfterDeserialization(); + } + + public override void UpdateNodeAfterDeserialization() + { + AddSlot(new Vector1MaterialSlot(OpacitySlotId, kOpacitySlotName, kOpacitySlotName, SlotType.Output, 1.0f)); + RemoveSlotsNameNotMatching(new[] { OpacitySlotId }); + } + + public void GenerateNodeCode(ShaderStringBuilder sb, GenerationMode generationMode) + { + string opacityVar = GetVariableNameForSlot(OpacitySlotId); + + if (generationMode == GenerationMode.Preview) + { + // No element data is bound in preview; show the identity opacity. + sb.AppendLine("$precision {0} = 1.0;", opacityVar); + return; + } + + // The per-element opacity the vertex reads. Applied automatically at the end of the fragment + // unless Automatic Opacity is disabled in the Graph Settings, in which case apply it yourself. + sb.AppendLine("$precision {0} = IN.opacity;", opacityVar); + } + + public bool RequiresUITK(ShaderStageCapability stageCapability) + { + return true; + } + } +} diff --git a/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementOpacityNode.cs.meta b/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementOpacityNode.cs.meta new file mode 100644 index 00000000000..c3cddeae484 --- /dev/null +++ b/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementOpacityNode.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 44fbba7da9553af45b5def0cd4888af3 \ No newline at end of file diff --git a/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementTintNode.cs b/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementTintNode.cs new file mode 100644 index 00000000000..31c1e5c5b6b --- /dev/null +++ b/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementTintNode.cs @@ -0,0 +1,52 @@ +using UnityEditor.Graphing; +using UnityEditor.Rendering.UITK.ShaderGraph; +using UnityEditor.ShaderGraph.Internal; +using UnityEngine; + +namespace UnityEditor.ShaderGraph +{ + [Title("Input", "UI", "Element Tint")] + [SubTargetFilter(typeof(IUISubTarget))] + class ElementTintNode : AbstractMaterialNode, IGeneratesBodyCode, IMayRequireUITK + { + public const int TintSlotId = 0; + + private const string kTintSlotName = "Tint"; + + public override bool hasPreview { get { return false; } } + + public ElementTintNode() + { + name = "Element Tint"; + synonyms = new string[] { "color", "vertex color", "dynamic color" }; + UpdateNodeAfterDeserialization(); + } + + public override void UpdateNodeAfterDeserialization() + { + AddSlot(new ColorRGBAMaterialSlot(TintSlotId, kTintSlotName, kTintSlotName, SlotType.Output, Vector4.one)); + RemoveSlotsNameNotMatching(new[] { TintSlotId }); + } + + public void GenerateNodeCode(ShaderStringBuilder sb, GenerationMode generationMode) + { + string tintVar = GetVariableNameForSlot(TintSlotId); + + if (generationMode == GenerationMode.Preview) + { + // No element / dynamic-color data is bound in preview; show the identity tint. + sb.AppendLine("$precision4 {0} = $precision4(1.0, 1.0, 1.0, 1.0);", tintVar); + return; + } + + // The straight tint (vertexColor * dynamicColor), interpolated in the fragment. It does not + // include the per-element opacity (see the Element Opacity node). + sb.AppendLine("$precision4 {0} = IN.color;", tintVar); + } + + public bool RequiresUITK(ShaderStageCapability stageCapability) + { + return true; + } + } +} diff --git a/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementTintNode.cs.meta b/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementTintNode.cs.meta new file mode 100644 index 00000000000..5e88886f09c --- /dev/null +++ b/Packages/com.unity.shadergraph/Editor/Data/Nodes/Input/UI/ElementTintNode.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1aa5997e0f5062c479ca5217c247f550 \ No newline at end of file diff --git a/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/DefaultBitmapTextNode.cs b/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/DefaultBitmapTextNode.cs index 7acf9e22c6f..2b87dd7c536 100644 --- a/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/DefaultBitmapTextNode.cs +++ b/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/DefaultBitmapTextNode.cs @@ -48,21 +48,13 @@ public void GenerateNodeCode(ShaderStringBuilder sb, GenerationMode generationMo { bool hasTint = GetInputNodeFromSlot(k_InputSlotIdTint) != null; sb.AppendLine("BitmapTextFragInput Unity_UIE_EvaluateBitmapNode_Input;"); + // Straight tint; opacity is applied at the end of the fragment, so pass 1 here. sb.AppendLine("Unity_UIE_EvaluateBitmapNode_Input.tint = {0};", hasTint ? GetSlotValue(k_InputSlotIdTint, generationMode) : "IN.color"); sb.AppendLine("Unity_UIE_EvaluateBitmapNode_Input.textureSlot = IN.typeTexSettings.y;"); sb.AppendLine("Unity_UIE_EvaluateBitmapNode_Input.uv = IN.uvClip.xy;"); - sb.AppendLine("Unity_UIE_EvaluateBitmapNode_Input.opacity = IN.typeTexSettings.z;"); + sb.AppendLine("Unity_UIE_EvaluateBitmapNode_Input.opacity = 1.0;"); sb.AppendLine("CommonFragOutput Unity_UIE_EvaluateBitmapNode_Output = uie_std_frag_bitmap_text(Unity_UIE_EvaluateBitmapNode_Input);"); - sb.AppendLine("{0}.rgb = Unity_UIE_EvaluateBitmapNode_Output.color.rgb;", outputVarName); - // To correctly apply the opacity we have to multiply the alpha values by the input color's alpha if input color is not used as the tint - if (hasTint) - { - sb.AppendLine("{0} = Unity_UIE_EvaluateBitmapNode_Output.color * IN.color.a;", outputVarName); - } - else - { - sb.AppendLine("{0}.a = Unity_UIE_EvaluateBitmapNode_Output.color.a;", outputVarName); - } + sb.AppendLine("{0} = Unity_UIE_EvaluateBitmapNode_Output.color;", outputVarName); } } diff --git a/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/DefaultSDFTextNode.cs b/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/DefaultSDFTextNode.cs index 3c17868952d..8b843b05562 100644 --- a/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/DefaultSDFTextNode.cs +++ b/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/DefaultSDFTextNode.cs @@ -48,12 +48,16 @@ public void GenerateNodeCode(ShaderStringBuilder sb, GenerationMode generationMo { bool hasTint = GetInputNodeFromSlot(k_InputSlotIdTint) != null; sb.AppendLine("SdfTextFragInput Unity_UIE_EvaluateSdfTextNode_Input;"); - sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Input.tint = {0};", hasTint ? GetSlotValue(k_InputSlotIdTint, generationMode) : "IN.color"); + // The tint is straight (not premultiplied); SDF text needs a premultiplied face color, + // a step that used to happen in the vertex. Opacity is applied at the end of the fragment. + sb.AppendLine("float4 Unity_UIE_EvaluateSdfTextNode_Tint = {0};", hasTint ? GetSlotValue(k_InputSlotIdTint, generationMode) : "IN.color"); + sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Tint.rgb *= Unity_UIE_EvaluateSdfTextNode_Tint.a;"); + sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Input.tint = Unity_UIE_EvaluateSdfTextNode_Tint;"); sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Input.textureSlot = IN.typeTexSettings.y;"); sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Input.uv = IN.uvClip.xy;"); sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Input.extraDilate = IN.circle.x;"); sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Input.textCoreLoc = round(IN.textCoreLoc);"); - sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Input.opacity = IN.typeTexSettings.z;"); + sb.AppendLine("Unity_UIE_EvaluateSdfTextNode_Input.opacity = 1.0;"); sb.AppendLine("CommonFragOutput Unity_UIE_EvaluateSdfTextNode_Output = uie_std_frag_sdf_text(Unity_UIE_EvaluateSdfTextNode_Input);"); sb.AppendLine("{0} = Unity_UIE_EvaluateSdfTextNode_Output.color;", outputVarName); } diff --git a/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/RenderTypeBranchNode.cs b/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/RenderTypeBranchNode.cs index 566185ff83b..6fb824592e5 100644 --- a/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/RenderTypeBranchNode.cs +++ b/Packages/com.unity.shadergraph/Editor/Data/Nodes/UI/RenderTypeBranchNode.cs @@ -121,12 +121,15 @@ public void GenerateNodeCode(ShaderStringBuilder sb, GenerationMode generationMo else { sb.AppendLine("SdfTextFragInput Unity_UIE_RenderTypeSwitchNode_SdfText_Input;"); - sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Input.tint = IN.color;"); + // Straight tint -> premultiplied face color (moved out of the vertex); opacity at frag-end. + sb.AppendLine("float4 Unity_UIE_RenderTypeSwitchNode_SdfText_Tint = IN.color;"); + sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Tint.rgb *= Unity_UIE_RenderTypeSwitchNode_SdfText_Tint.a;"); + sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Input.tint = Unity_UIE_RenderTypeSwitchNode_SdfText_Tint;"); sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Input.textureSlot = IN.typeTexSettings.y;"); sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Input.uv = IN.uvClip.xy;"); sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Input.extraDilate = IN.circle.x;"); sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Input.textCoreLoc = round(IN.textCoreLoc);"); - sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Input.opacity = IN.typeTexSettings.z;"); + sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_SdfText_Input.opacity = 1.0;"); sb.AppendLine("CommonFragOutput Unity_UIE_RenderTypeSwitchNode_Output = uie_std_frag_sdf_text(Unity_UIE_RenderTypeSwitchNode_SdfText_Input);"); sb.AppendLine("{0} = Unity_UIE_RenderTypeSwitchNode_Output.color.rgb;", outputVarNameColor); sb.AppendLine("{0} = Unity_UIE_RenderTypeSwitchNode_Output.color.a;", outputVarNameAlpha); @@ -143,10 +146,11 @@ public void GenerateNodeCode(ShaderStringBuilder sb, GenerationMode generationMo else { sb.AppendLine("BitmapTextFragInput Unity_UIE_RenderTypeSwitchNode_BitmapText_Input;"); + // Straight tint; opacity is applied at the end of the fragment, so pass 1 here. sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_BitmapText_Input.tint = IN.color;"); sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_BitmapText_Input.textureSlot = IN.typeTexSettings.y;"); sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_BitmapText_Input.uv = IN.uvClip.xy;"); - sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_BitmapText_Input.opacity = IN.typeTexSettings.z;"); + sb.AppendLine("Unity_UIE_RenderTypeSwitchNode_BitmapText_Input.opacity = 1.0;"); sb.AppendLine("CommonFragOutput Unity_UIE_RenderTypeSwitchNode_Output = uie_std_frag_bitmap_text(Unity_UIE_RenderTypeSwitchNode_BitmapText_Input);"); sb.AppendLine("{0} = Unity_UIE_RenderTypeSwitchNode_Output.color.rgb;", outputVarNameColor); sb.AppendLine("{0} = Unity_UIE_RenderTypeSwitchNode_Output.color.a;", outputVarNameAlpha); diff --git a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/BuildUIVertexDescriptionInputs.template.hlsl b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/BuildUIVertexDescriptionInputs.template.hlsl new file mode 100644 index 00000000000..a848b8d75b5 --- /dev/null +++ b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/BuildUIVertexDescriptionInputs.template.hlsl @@ -0,0 +1,118 @@ +// UITK variant of the shared BuildVertexDescriptionInputs template, included explicitly by +// PassUI.template (mirrors how TerrainPass uses BuildTerrainVertexDescriptionInputs). The only +// difference from the shared copy is the world-space position: UITK vertices are element-local, so +// the world read must apply the per-element transform (translation -> bone -> group -> world) rather +// than the group-only TransformObjectToWorld(input.positionOS). Object space is already element-local. + +// World position for a UITK element vertex: group * bone * (local + translation). In the ShaderGraph +// preview there is no ElementInfo record bound, so fall back to the plain object->world transform to +// avoid sampling unbound tables. +float3 uie_world_from_attributes(Attributes input) +{ +#if defined(SHADERGRAPH_PREVIEW) + return TransformObjectToWorld(input.positionOS); +#else + appdata_t uieInput = (appdata_t)0; + uieInput.vertex = float4(input.positionOS, 1.0f); + uieInput.packedIds = input.uv4; + + uint transformId, opacityId; + float2 translation; + uie_load_element_info(uieInput, transformId, opacityId, translation); + + return TransformObjectToWorld(uie_local_to_world(uieInput.vertex, transformId, translation)); +#endif +} + +VertexDescriptionInputs BuildVertexDescriptionInputs(Attributes input) +{ + VertexDescriptionInputs output; + ZERO_INITIALIZE(VertexDescriptionInputs, output); + + // Texture UV (static field) so the Element Texture UV node works in the vertex stage. The + // fragment gets this from the uvClip varying that uie_std_vert writes; here we compute it + // directly from the vertex inputs, including the dynamic-texture texel-size scaling. + output.uvClip.xy = uie_element_texture_uv(input.uv0, input.uv4); + + // Resolved tint (static field) so the Element Color node works in the vertex stage; the fragment + // reads the carried tint varying. Dead-code-eliminated when no node reads it. + output.color = uie_element_tint(input.color, input.uv4); + + // Per-element opacity (static field) for the Element Color node's Opacity output in the vertex + // stage. Dead-code-eliminated when no node reads it. + output.opacity = uie_element_opacity(input.uv4); + + // Layout-rect UV (static field) so the Element Layout UV node works in the vertex stage. It is + // packed into uv0.zw, the same source the fragment reads via the texCoord6 varying. + output.layoutUV = input.uv0.zw; + + // Texture slot in typeTexSettings.y (static field) so the Element Texture Size node works in the + // vertex stage; it reads IN.typeTexSettings.y. The other components aren't read by any vertex node. + output.typeTexSettings.y = uie_element_texture_slot(input.uv4); + + $VertexDescriptionInputs.ObjectSpaceNormal: output.ObjectSpaceNormal = input.normalOS; + $VertexDescriptionInputs.WorldSpaceNormal: output.WorldSpaceNormal = TransformObjectToWorldNormal(input.normalOS); + $VertexDescriptionInputs.ViewSpaceNormal: output.ViewSpaceNormal = TransformWorldToViewDir(output.WorldSpaceNormal); + $VertexDescriptionInputs.TangentSpaceNormal: output.TangentSpaceNormal = float3(0.0f, 0.0f, 1.0f); + $VertexDescriptionInputs.ObjectSpaceTangent: output.ObjectSpaceTangent = input.tangentOS.xyz; + $VertexDescriptionInputs.WorldSpaceTangent: output.WorldSpaceTangent = TransformObjectToWorldDir(input.tangentOS.xyz); + $VertexDescriptionInputs.ViewSpaceTangent: output.ViewSpaceTangent = TransformWorldToViewDir(output.WorldSpaceTangent); + $VertexDescriptionInputs.TangentSpaceTangent: output.TangentSpaceTangent = float3(1.0f, 0.0f, 0.0f); + $VertexDescriptionInputs.ObjectSpaceBiTangent: output.ObjectSpaceBiTangent = normalize(cross(input.normalOS, input.tangentOS.xyz) * (input.tangentOS.w > 0.0f ? 1.0f : -1.0f) * GetOddNegativeScale()); + $VertexDescriptionInputs.WorldSpaceBiTangent: output.WorldSpaceBiTangent = TransformObjectToWorldDir(output.ObjectSpaceBiTangent); + $VertexDescriptionInputs.ViewSpaceBiTangent: output.ViewSpaceBiTangent = TransformWorldToViewDir(output.WorldSpaceBiTangent); + $VertexDescriptionInputs.TangentSpaceBiTangent: output.TangentSpaceBiTangent = float3(0.0f, 1.0f, 0.0f); + $VertexDescriptionInputs.ObjectSpacePosition: output.ObjectSpacePosition = input.positionOS; + $VertexDescriptionInputs.WorldSpacePosition: output.WorldSpacePosition = uie_world_from_attributes(input); + $VertexDescriptionInputs.ViewSpacePosition: output.ViewSpacePosition = TransformWorldToView(output.WorldSpacePosition); + $VertexDescriptionInputs.TangentSpacePosition: output.TangentSpacePosition = float3(0.0f, 0.0f, 0.0f); + $VertexDescriptionInputs.AbsoluteWorldSpacePosition: output.AbsoluteWorldSpacePosition = GetAbsolutePositionWS(TransformObjectToWorld(input.positionOS)); + $VertexDescriptionInputs.ObjectSpacePositionPredisplacement: output.ObjectSpacePositionPredisplacement = input.positionOS; + $VertexDescriptionInputs.WorldSpacePositionPredisplacement: output.WorldSpacePositionPredisplacement = uie_world_from_attributes(input); + $VertexDescriptionInputs.ViewSpacePositionPredisplacement: output.ViewSpacePositionPredisplacement = TransformWorldToView(output.WorldSpacePosition); + $VertexDescriptionInputs.TangentSpacePositionPredisplacement: output.TangentSpacePositionPredisplacement = float3(0.0f, 0.0f, 0.0f); + $VertexDescriptionInputs.AbsoluteWorldSpacePositionPredisplacement: output.AbsoluteWorldSpacePositionPredisplacement = GetAbsolutePositionWS(TransformObjectToWorld(input.positionOS)); + $VertexDescriptionInputs.WorldSpaceViewDirection: output.WorldSpaceViewDirection = GetWorldSpaceNormalizeViewDir(output.WorldSpacePosition); + $VertexDescriptionInputs.ObjectSpaceViewDirection: output.ObjectSpaceViewDirection = TransformWorldToObjectDir(output.WorldSpaceViewDirection); + $VertexDescriptionInputs.ViewSpaceViewDirection: output.ViewSpaceViewDirection = TransformWorldToViewDir(output.WorldSpaceViewDirection); + $VertexDescriptionInputs.TangentSpaceViewDirection: float3x3 tangentSpaceTransform = float3x3(output.WorldSpaceTangent,output.WorldSpaceBiTangent,output.WorldSpaceNormal); + $VertexDescriptionInputs.TangentSpaceViewDirection: output.TangentSpaceViewDirection = TransformWorldToTangent(output.WorldSpaceViewDirection, tangentSpaceTransform); + $VertexDescriptionInputs.ScreenPosition: output.ScreenPosition = ComputeScreenPos(TransformWorldToHClip(output.WorldSpacePosition), _ProjectionParams.x); + $VertexDescriptionInputs.NDCPosition: output.NDCPosition = output.ScreenPosition.xy / output.ScreenPosition.w; + $VertexDescriptionInputs.PixelPosition: output.PixelPosition = float2(output.NDCPosition.x, 1.0f - output.NDCPosition.y) * GetScaledScreenParams().xy; + $VertexDescriptionInputs.ClipPosition: output.ClipPosition = TransformWorldToHClip(output.WorldSpacePosition).xy; + $VertexDescriptionInputs.uv0: output.uv0 = input.uv0; + $VertexDescriptionInputs.uv1: output.uv1 = input.uv1; + $VertexDescriptionInputs.uv2: output.uv2 = input.uv2; + $VertexDescriptionInputs.uv3: output.uv3 = input.uv3; + $VertexDescriptionInputs.uv4: output.uv4 = input.uv4; + $VertexDescriptionInputs.uv5: output.uv5 = input.uv5; + $VertexDescriptionInputs.uv6: output.uv6 = input.uv6; + $VertexDescriptionInputs.uv7: output.uv7 = input.uv7; + $VertexDescriptionInputs.VertexColor: output.VertexColor = input.color; + $VertexDescriptionInputs.TimeParameters: output.TimeParameters = _TimeParameters.xyz; + $VertexDescriptionInputs.BoneWeights: output.BoneWeights = input.weights; + $VertexDescriptionInputs.BoneIndices: output.BoneIndices = input.indices; + $VertexDescriptionInputs.VertexID: output.VertexID = input.vertexID; +#if UNITY_ANY_INSTANCING_ENABLED + $VertexDescriptionInputs.InstanceID: output.InstanceID = unity_InstanceID; +#else // TODO: XR support for procedural instancing because in this case UNITY_ANY_INSTANCING_ENABLED is not defined and instanceID is incorrect. + $VertexDescriptionInputs.InstanceID: output.InstanceID = input.instanceID; +#endif + + return output; +} + +// Runs the shader-graph vertex stage and returns the (possibly graph-modified) element-local +// position; custom interpolators are forwarded into the Varyings. uie_custom_vert writes the result +// into the vertex, then uie_std_vert applies the element transform (translation -> bone -> group -> +// clip). This is only included when FEATURES_GRAPH_VERTEX is set, so the caller guards on it too. +float3 uie_build_vertex(Attributes input, inout Varyings varyings) +{ + VertexDescriptionInputs vertexDescriptionInputs = BuildVertexDescriptionInputs(input); + VertexDescription vertexDescription = VertexDescriptionFunction(vertexDescriptionInputs); +#if defined(CUSTOMINTERPOLATOR_VARYPASSTHROUGH_FUNC) + CustomInterpolatorPassThroughFunc(varyings, vertexDescription); +#endif + return vertexDescription.Position; +} diff --git a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/BuildUIVertexDescriptionInputs.template.hlsl.meta b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/BuildUIVertexDescriptionInputs.template.hlsl.meta new file mode 100644 index 00000000000..258ab3e68f2 --- /dev/null +++ b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/BuildUIVertexDescriptionInputs.template.hlsl.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 95bb7cbbf6b9eaf408a1c4c3d0a8735c +ShaderIncludeImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/PassUI.template b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/PassUI.template index 0d908517391..65245c425f5 100644 --- a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/PassUI.template +++ b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/Templates/PassUI.template @@ -53,6 +53,7 @@ Pass $Varyings.texCoord2: #define VARYINGS_NEED_TEXCOORD2 $Varyings.texCoord3: #define VARYINGS_NEED_TEXCOORD3 $Varyings.color: #define VARYINGS_NEED_COLOR + $Varyings.opacity: #define VARYINGS_NEED_OPACITY $Varyings.vertexID: #define VARYINGS_NEED_VERTEXID $Varyings.instanceID: #define VARYINGS_NEED_INSTANCEID $Varyings.bitangentWS: #define VARYINGS_NEED_BITANGENT_WS @@ -116,7 +117,7 @@ Pass // -------------------------------------------------- // Build Graph Inputs - $features.graphVertex: $include("BuildVertexDescriptionInputs.template.hlsl") + $features.graphVertex: $include("BuildUIVertexDescriptionInputs.template.hlsl") $features.graphPixel: $include("BuildSurfaceDescriptionInputs.template.hlsl") // -------------------------------------------------- diff --git a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UIData.cs b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UIData.cs index 3de8617c511..4e822af6ee2 100644 --- a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UIData.cs +++ b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UIData.cs @@ -21,5 +21,14 @@ public Version version get => m_Version; set => m_Version = value; } + + // When true (default), uie_custom_frag multiplies the final alpha by the per-element opacity. + // When false, the author applies opacity instead (e.g. via the Element Color node's Opacity output). + [SerializeField] bool m_AutomaticOpacity = true; + public bool automaticOpacity + { + get => m_AutomaticOpacity; + set => m_AutomaticOpacity = value; + } } } diff --git a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UIStructs.cs b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UIStructs.cs index f64f35b9c2c..12c6babeae1 100644 --- a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UIStructs.cs +++ b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UIStructs.cs @@ -2,6 +2,13 @@ namespace UnityEditor.ShaderGraph { internal static class UIStructs { + // Per-element opacity carried to the fragment (custom shaders only). The default shader bakes + // opacity into the color in uie_std_vert; the custom path keeps the tint straight and applies + // opacity at the end of the fragment, so it needs its own interpolant (packed by the packer). + internal static readonly FieldDescriptor OpacityVarying = new FieldDescriptor( + "Varyings", "opacity", "VARYINGS_NEED_OPACITY", ShaderValueType.Float, + subscriptOptions: StructFieldOptions.Optional); + public static StructDescriptor Varyings = new StructDescriptor() { name = "Varyings", @@ -21,6 +28,7 @@ internal static class UIStructs StructFields.Varyings.texCoord6, StructFields.Varyings.texCoord7, StructFields.Varyings.color, + OpacityVarying, StructFields.Varyings.instanceID, StructFields.Varyings.vertexID, StructFields.Varyings.stereoTargetEyeIndexAsBlendIdx0, @@ -67,18 +75,41 @@ internal static class UIStructs new FieldDescriptor("VertexDescriptionInputs", "uv", "", ShaderValueType.Float4, subscriptOptions: StructFieldOptions.Static), new FieldDescriptor("VertexDescriptionInputs", "packedIds", "", ShaderValueType.Uint4, subscriptOptions: StructFieldOptions.Static), new FieldDescriptor("VertexDescriptionInputs", "circle", "", ShaderValueType.Float4, subscriptOptions: StructFieldOptions.Static), + // Texture UV (dynamic-texture-patched), mirrors SurfaceDescriptionInputs.uvClip so the + // Element Texture UV node reads IN.uvClip.xy in the vertex stage as it does in fragment. + new FieldDescriptor("VertexDescriptionInputs", "uvClip", "", ShaderValueType.Float4, subscriptOptions: StructFieldOptions.Static), + // Resolved tint (vertexColor * dynamicColor), mirrors SurfaceDescriptionInputs.color so the + // Element Color node reads IN.color in the vertex stage; the fragment uses the carried tint. + new FieldDescriptor("VertexDescriptionInputs", "color", "", ShaderValueType.Float4, subscriptOptions: StructFieldOptions.Static), + // Per-element opacity, mirrors SurfaceDescriptionInputs.opacity so the Element Color node + // reads IN.opacity in the vertex stage. + new FieldDescriptor("VertexDescriptionInputs", "opacity", "", ShaderValueType.Float, subscriptOptions: StructFieldOptions.Static), + // Layout-rect UV, mirrors SurfaceDescriptionInputs.layoutUV so the Element Layout UV node + // reads IN.layoutUV.xy in the vertex stage as it does in fragment. + new FieldDescriptor("VertexDescriptionInputs", "layoutUV", "", ShaderValueType.Float2, subscriptOptions: StructFieldOptions.Static), + // Type/texture settings, mirrors SurfaceDescriptionInputs.typeTexSettings so the Element + // Texture Size node reads IN.typeTexSettings.y (the texture slot) in the vertex stage. + new FieldDescriptor("VertexDescriptionInputs", "typeTexSettings", "", ShaderValueType.Float4, subscriptOptions: StructFieldOptions.Static), // optionals StructFields.VertexDescriptionInputs.VertexID, StructFields.VertexDescriptionInputs.InstanceID, + // Element-local position read (PositionNode Object space) and the per-element world + // position (PositionNode World space, built in BuildUIVertexDescriptionInputs). + // ObjectSpacePosition is also the default of the always-active Position block. + StructFields.VertexDescriptionInputs.ObjectSpacePosition, + StructFields.VertexDescriptionInputs.WorldSpacePosition, + StructFields.VertexDescriptionInputs.ObjectSpaceNormal, StructFields.VertexDescriptionInputs.ObjectSpaceTangent, + StructFields.VertexDescriptionInputs.uv0, // Element Texture UV node reads IN.uv0 in preview StructFields.VertexDescriptionInputs.uv1, StructFields.VertexDescriptionInputs.uv2, StructFields.VertexDescriptionInputs.uv3, StructFields.VertexDescriptionInputs.NDCPosition, StructFields.VertexDescriptionInputs.PixelPosition, + StructFields.VertexDescriptionInputs.TimeParameters, // e.g. a Time-driven vertex Position offset } }; @@ -96,6 +127,9 @@ internal static class UIStructs new FieldDescriptor("SurfaceDescriptionInputs", "circle", "", ShaderValueType.Float4, subscriptOptions: StructFieldOptions.Static), new FieldDescriptor("SurfaceDescriptionInputs", "uvClip", "", ShaderValueType.Float4, subscriptOptions: StructFieldOptions.Static), new FieldDescriptor("SurfaceDescriptionInputs", "layoutUV", "", ShaderValueType.Float2, subscriptOptions: StructFieldOptions.Static), + // Per-element opacity carried from the vertex; read by the Element Color node and applied + // at the end of uie_custom_frag (unless disabled). + new FieldDescriptor("SurfaceDescriptionInputs", "opacity", "", ShaderValueType.Float, subscriptOptions: StructFieldOptions.Static), StructFields.SurfaceDescriptionInputs.uv0, StructFields.SurfaceDescriptionInputs.uv1, diff --git a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UISubTarget.cs b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UISubTarget.cs index 3fab49dd00d..f5599f124f9 100644 --- a/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UISubTarget.cs +++ b/Packages/com.unity.shadergraph/Editor/Generation/Targets/UITK/UISubTarget.cs @@ -79,6 +79,10 @@ public override void Setup(ref TargetSetupContext context) public override void GetActiveBlocks(ref TargetActiveBlockContext context) { + // Position is always active so the graph vertex stage can read/write element-local + // position. An untouched block defaults to the object-space position, so the pass output + // is unchanged for graphs that don't drive Position. + context.AddBlock(BlockFields.VertexDescription.Position); context.AddBlock(BlockFields.SurfaceDescription.BaseColor); context.AddBlock(BlockFields.SurfaceDescription.Alpha); } @@ -161,8 +165,20 @@ public virtual IncludeCollection SRPPostGraphIncludes() }; } + static readonly KeywordDescriptor s_AutomaticOpacity = new KeywordDescriptor() + { + displayName = "Automatic Opacity", + referenceName = "UITK_AUTOMATIC_OPACITY", + type = KeywordType.Boolean, + }; + protected virtual DefineCollection GetPassDefines() - => new DefineCollection(); + { + var defines = new DefineCollection(); + if (uiData == null || uiData.automaticOpacity) + defines.Add(s_AutomaticOpacity, 1); + return defines; + } protected virtual KeywordCollection GetPassKeywords() => new KeywordCollection(); @@ -226,6 +242,8 @@ public string GetValidatorKey() const string kUVErrorMessageSubGraph = "UI Material only supports UV0-UV3 in the subgraph. To use UV1-3, enable the matching channel under PanelSettings.extraVertexChannels."; const string kGeometryFragmentStageError = "{0} cannot be used in the fragment stage on UI Toolkit shaders. UI Toolkit does not provide a per-element transform that would make the value meaningful in the fragment shader. Route the value through a Custom Interpolator (vertex stage to fragment stage) to read the raw vertex data in the fragment shader."; const string kGeometryNonObjectSpaceError = "{0}'s Space must be set to Object on UI Toolkit shaders. UI Toolkit does not provide a meaningful per-element world transform; other spaces would apply the batched-group transform and produce incorrect data. The Object space option returns the value as it was packed into the vertex stream."; + const string kPositionSpaceError = "{0}'s Space must be set to Object or World on UI Toolkit shaders. Object returns the element-local position; World applies the element transform (translation, bone and group). View, Tangent and Absolute World are not supported."; + const string kPositionObjectFragmentError = "{0} in Object space is the element-local position and is only available in the vertex stage on UI Toolkit shaders. Use World space to read the position in the fragment stage, or route the Object-space value through a Custom Interpolator (vertex stage to fragment stage)."; static bool IsAllowedUVChannel(UnityEditor.ShaderGraph.Internal.UVChannel channel) { @@ -353,8 +371,38 @@ static bool ValidateGeometryNode(AbstractMaterialNode node, out string errorMess if (node is not GeometryNode geometryNode) return false; - // PositionNode and ViewDirectionNode are blocked outright via m_UnsupportedNodes; - // only the three vector nodes reach this validator on UITK. + // Object (element-local) and World (group * bone * (local + translation)) are the only + // meaningful UITK position spaces; View/Tangent/AbsoluteWorld would apply an unrelated + // transform. + if (geometryNode is PositionNode) + { + if (geometryNode.space != CoordinateSpace.Object && geometryNode.space != CoordinateSpace.World) + { + errorMessage = string.Format(kPositionSpaceError, node.name); + return true; + } + + // Object is element-local and only available in the vertex stage: the fragment can't + // recover it from the panel-root world varying (inverting UNITY_MATRIX_M only reaches + // group space). World rides the positionWS varying, so it works in both stages. + if (geometryNode.space == CoordinateSpace.Object) + { + var positionOutput = node.FindOutputSlot(0); + if (positionOutput != null) + { + var positionCapability = NodeUtils.GetEffectiveShaderStageCapability(positionOutput, goingBackwards: false); + if (positionCapability != ShaderStageCapability.All && (positionCapability & ShaderStageCapability.Fragment) != 0) + { + errorMessage = string.Format(kPositionObjectFragmentError, node.name); + return true; + } + } + } + return false; + } + + // ViewDirectionNode is blocked outright via m_UnsupportedNodes; only the three vector + // nodes reach this point on UITK. if (geometryNode is not (NormalVectorNode or TangentVectorNode or BitangentVectorNode)) return false; @@ -438,7 +486,8 @@ public override bool IsNodeAllowedBySubTarget(Type nodeType) // opt-in via PanelSettings.extraVertexChannels (Normal, Tangent). When the // matching channel isn't enabled the stream is zero, so the user is responsible // for opting in to get meaningful values. - m_UnsupportedNodes.Add(typeof(PositionNode)); + // Position is allowed too (Object = element-local, World = element transform); its + // spaces are validated in ValidateGeometryNode. ViewDirection stays blocked (no view). m_UnsupportedNodes.Add(typeof(ViewDirectionNode)); // Vertex attribute related node which cannot be correctly handled in UITK. @@ -470,7 +519,10 @@ public override bool IsNodeAllowedBySubTarget(Type nodeType) class UITKBlockMasks { // Port Mask - public static BlockFieldDescriptor[] Vertex = null; + public static BlockFieldDescriptor[] Vertex = + { + BlockFields.VertexDescription.Position, + }; public static BlockFieldDescriptor[] Fragment = { @@ -513,6 +565,7 @@ static class UITKRequiredFields StructFields.Varyings.texCoord5, StructFields.Varyings.texCoord6, StructFields.Varyings.texCoord7, + UIStructs.OpacityVarying, // per-element opacity, applied at the end of the fragment }; } #endregion diff --git a/Packages/com.unity.shadergraph/Editor/Generation/Templates/BuildSurfaceDescriptionInputs.template.hlsl b/Packages/com.unity.shadergraph/Editor/Generation/Templates/BuildSurfaceDescriptionInputs.template.hlsl index 98f49527351..fc9bf479392 100644 --- a/Packages/com.unity.shadergraph/Editor/Generation/Templates/BuildSurfaceDescriptionInputs.template.hlsl +++ b/Packages/com.unity.shadergraph/Editor/Generation/Templates/BuildSurfaceDescriptionInputs.template.hlsl @@ -89,6 +89,7 @@ SurfaceDescriptionInputs BuildSurfaceDescriptionInputs(Varyings input) $SurfaceDescriptionInputs.typeTexSettings: output.typeTexSettings = input.texCoord5; $SurfaceDescriptionInputs.textCoreLoc: output.textCoreLoc = input.texCoord6.xy; $SurfaceDescriptionInputs.layoutUV: output.layoutUV = input.texCoord6.zw; + $SurfaceDescriptionInputs.opacity: output.opacity = input.opacity; $SurfaceDescriptionInputs.circle: output.circle = input.texCoord7; From fb625055bd420715f47a124bc7c9c4804d7901ac Mon Sep 17 00:00:00 2001 From: Reach Platform Support Date: Thu, 25 Jun 2026 17:16:06 +0000 Subject: [PATCH 007/231] [Port] [6000.6] [SRP] Refactor sample dependencies import using OnBeforeImportFinish event from packman --- .../SampleDependencyImporter.cs | 503 ++---------------- 1 file changed, 49 insertions(+), 454 deletions(-) diff --git a/Packages/com.unity.render-pipelines.core/Editor/SampleDependencyImportSystem/SampleDependencyImporter.cs b/Packages/com.unity.render-pipelines.core/Editor/SampleDependencyImportSystem/SampleDependencyImporter.cs index a6d1b2e3840..5c80de5ea5d 100644 --- a/Packages/com.unity.render-pipelines.core/Editor/SampleDependencyImportSystem/SampleDependencyImporter.cs +++ b/Packages/com.unity.render-pipelines.core/Editor/SampleDependencyImportSystem/SampleDependencyImporter.cs @@ -2,10 +2,9 @@ using System.Collections.Generic; using System.IO; using UnityEditor; -using UnityEditor.PackageManager; +using UnityEditor.AssetPackage; using UnityEditor.PackageManager.UI; using UnityEngine; -using UnityEngine.UIElements; using PackageInfo = UnityEditor.PackageManager.PackageInfo; /// @@ -23,410 +22,55 @@ /// "com.unity.render-pipelines.high-definition/Samples~/CommonHDRPMaterials", /// ] /// }, -/// { /// [InitializeOnLoad] -internal class SampleDependencyImporter : IPackageManagerExtension +internal static class SampleDependencyImporter { - internal static SampleDependencyImporter instance { get; private set; } + static bool s_ImportingTextMeshProEssentialResources = false; static SampleDependencyImporter() { - instance = new SampleDependencyImporter(); - PackageManagerExtensions.RegisterExtension(instance); + Sample.OnBeforeImportFinish += OnSampleImported; } - bool importingTextMeshProEssentialResources = false; - - PackageInfo m_PackageInfo; - SampleList m_SampleList; - - VisualElement injectingElement; - VisualElement _panelRoot; - VisualElement panelRoot + static void OnSampleImported(IReadOnlyList events) { - get - { - _panelRoot ??= injectingElement?.panel?.visualTree; - return _panelRoot; - } - } - - /// - /// Use the extension UI to "inject" an invisible element in package manager UI - /// that will serve as a base to hook up additional logic to the import buttons. - /// - VisualElement IPackageManagerExtension.CreateExtensionUI() - { - injectingElement = new VisualElement(); - injectingElement.style.display = DisplayStyle.None; - - injectingElement.RegisterCallback((callback) => { - // Clear cached elements when panel is attached - _panelRoot = null; - samplesButton = null; - RefreshSampleButtons(); - }); - - return injectingElement; - } - - Button samplesButton; - Button m_InjectedDetailsButton; - bool m_IsOnAllSamplesTab; - - const string samplesButtonName = "samplesButton"; - const string samplesListContainerClassName = "sampleContainer"; - const string importButtonClassName = "actionButtonsContainer"; - const string injectedButtonClassName = "importWithDependenciesButton"; - - internal void RefreshSampleButtons() - { - if (m_IsOnAllSamplesTab) - { - RefreshSampleButtonInDetailsView(); - } - else - { - RefreshSampleButtonInListView(); - } - } - - internal void RefreshSampleButtonInListView() - { - if (injectingElement == null || m_PackageInfo == null || m_SampleList == null || panelRoot == null) - return; - - // Hook up to the "Samples" tab button click event - if (samplesButton == null) - { - samplesButton = panelRoot.Q