浏览代码

Merge branch 'master' into fix/coupling-hdlight-workflow

/main
GitHub 6 年前
当前提交
01fdbb38
共有 2148 个文件被更改,包括 252 次插入207 次删除
  1. 4
      .gitmodules
  2. 6
      README.md
  3. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/CornelBox/Materials/Cornell Box.mat
  4. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/CornelBox/Materials/Cornell Box_green.mat
  5. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/CornelBox/Materials/Cornell Box_red.mat
  6. 6
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/GroundLeaf/GroundLeaf.mat
  7. 7
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/PerryHead/Head.mat
  8. 6
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/ComplexMaterial/ComplexMaterial.mat
  9. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/FourShapes.mat
  10. 6
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/FourShapes_POM.mat
  11. 6
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/FourShapes_POM_DepthOffset.mat
  12. 6
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/FourShapes_Tesselation.mat
  13. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/HDRP_Default_Material.mat
  14. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/LIT_BLUE.MAT
  15. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/LIT_CYAN.MAT
  16. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/LIT_RED.MAT
  17. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_Black.mat
  18. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_DarkGrey.mat
  19. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_Green.mat
  20. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_LightGrey.mat
  21. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_MidGrey.mat
  22. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_Purple.mat
  23. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_White.mat
  24. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_Yellow.mat
  25. 4
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_PixelGrid.mat
  26. 27
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/PreRef.mat
  27. 7
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/PreRefractionPassTester.mat
  28. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_00.mat
  29. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_01.mat
  30. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_02.mat
  31. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_03.mat
  32. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_04.mat
  33. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_05.mat
  34. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_06.mat
  35. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_07.mat
  36. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_08.mat
  37. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_09.mat
  38. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_10.mat
  39. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_00.mat
  40. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_01.mat
  41. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_02.mat
  42. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_03.mat
  43. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_04.mat
  44. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_05.mat
  45. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_06.mat
  46. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_07.mat
  47. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_08.mat
  48. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_09.mat
  49. 3
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_10.mat
  50. 6
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Transparent.mat
  51. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_Black.mat
  52. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_MidGrey.mat
  53. 4
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_PixelGrid.mat
  54. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_White.mat
  55. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_White_Transparent.mat
  56. 18
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRP_Test_Def.asset
  57. 18
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRP_Test_Def_DepthPrepass.asset
  58. 18
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRP_Test_Def_DepthPrepass_AlphaOnly.asset
  59. 18
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRP_Test_Fwd.asset
  60. 17
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRenderPipelineAsset.asset
  61. 6
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/ScenePrefabs/HDRP_Test_Camera.prefab
  62. 19
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Scripts/Editor/HDRP_Tests_Editor.asmdef
  63. 13
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Scripts/HDRP_Tests.asmdef
  64. 4
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Scripts/WriteShaderToRenderTexture.cs
  65. 62
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/TestRunner/HDRP_GraphicTestRunner.cs
  66. 13
      TestProjects/HDRP_Tests/Assets/GraphicTests/Common/TestRunner/HDRP_TestRunner.asmdef
  67. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/01_Unlit_Simple.mat
  68. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/02_Unlit_Trans_Alpha.mat
  69. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/03_Unlit_Trans_Alpha_PreRefractionPass.mat
  70. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/04_Unlit_DoubleSide.mat
  71. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/05_Unlit_DoubleSide_Transparent.mat
  72. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/06_Unlit_DoubleSide_Transparent_PreRefractionPass.mat
  73. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/07_Unlit_Textured.mat
  74. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/08_Unlit_Textured_Transparent.mat
  75. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/09_Unlit_Textured_Trans_Alpha_PreRefractionPass.mat
  76. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/10_Unlit_Textured_DoubleSide.mat
  77. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/11_Unlit_Textured_Transparent_DoubleSide.mat
  78. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/12_Unlit_Textured_Trans_Alpha_PreRefractionPass_DoubleSide.mat
  79. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/13_Unlit_Textured_AlphaCutoff.mat
  80. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/14_Unlit_Textured_Transparent_AlphaCutoff.mat
  81. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/15_Unlit_Textured_Trans_Alpha_PreRefractionPass_AlphaCutoff.mat
  82. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/16_Unlit_Textured_AlphaCutoff_Doubleside.mat
  83. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/17_Unlit_Textured_Transparent_AlphaCutoff_Doubleside.mat
  84. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/18_Unlit_Textured_Trans_Alpha_PreRefractionPass_AlphaCutoff_Doubleside.mat
  85. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/01_Unlit_Simple.mat
  86. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/02_Unlit_Trans_Alpha.mat
  87. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/03_Unlit_Trans_Alpha_PreRefractionPass.mat
  88. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/04_Unlit_DoubleSide.mat
  89. 4
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/05_Unlit_DoubleSide_Transparent.mat
  90. 4
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/06_Unlit_DoubleSide_Transparent_PreRefractionPass.mat
  91. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/07_Unlit_Textured.mat
  92. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/08_Unlit_Textured_Transparent.mat
  93. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/09_Unlit_Textured_Trans_Alpha_PreRefractionPass.mat
  94. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/10_Unlit_Textured_DoubleSide.mat
  95. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/11_Unlit_Textured_Transparent_DoubleSide.mat
  96. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/12_Unlit_Textured_Trans_Alpha_PreRefractionPass_DoubleSide.mat
  97. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/13_Unlit_Textured_AlphaCutoff.mat
  98. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/14_Unlit_Textured_Transparent_AlphaCutoff.mat
  99. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/15_Unlit_Textured_Trans_Alpha_PreRefractionPass_AlphaCutoff.mat
  100. 1
      TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/16_Unlit_Textured_AlphaCutoff_Doubleside.mat

4
.gitmodules


[submodule "com.unity.postprocessing"]
path = com.unity.postprocessing
url = https://github.com/Unity-Technologies/PostProcessing.git
branch = v2

6
README.md


## NOTE: We are migrating reported issues to fogbugz. Please log issues there.
## NOTE: We have migrate reported issues to fogbugz. Please log issues via the in unity bug tracker.
# Unity Scriptable Render Pipeline
The Scriptable Render Pipeline (SRP) is a new Unity feature in active development. SRP has been designed to give artists and developers the tools they need to create modern, high-fidelity graphics in Unity. Including a built-in Lightweight Render Pipeline for use on all platforms, and a High Definition Render Pipeline (HDRP) for use on compute shader compatible platforms. These features are available in Unity 2018.1+.

For a more detailed overview of the planned features and philosophy behind SRP, refer to the following Gdoc: [ScriptableRenderPipeline](https://docs.google.com/document/d/1e2jkr_-v5iaZRuHdnMrSv978LuJKYZhsIYnrDkNAuvQ/edit?usp=sharing)
Detailed documentation is being added here: [Wiki](https://github.com/Unity-Technologies/ScriptableRenderPipeline/wiki)
This feature is currently in preview. Some features may change or be removed before we move to a full release.

This repository consists of a folder that should be cloned outside the Assets\ folder of your Unity project. We recommend creating a new project to test SRP. Do not clone this repo into an existing project unless you want to break it, or unless you are updating to a newer version of the SRP repo.
After cloning you will need to edit your project's `packages.json` file (in either `UnityPackageManager/` or `Packages/`) to point to the SRP submodules you wish to use. See: https://github.com/Unity-Technologies/ScriptableRenderPipeline/blob/build/automation/TestProjects/GraphicsTests/Packages/manifest.json
After cloning you will need to edit your project's `packages.json` file (in either `UnityPackageManager/` or `Packages/`) to point to the SRP submodules you wish to use. See: https://github.com/Unity-Technologies/ScriptableRenderPipeline/blob/master/TestProjects/HDRP_Tests/Packages/manifest.json
This will link your project to the specific version of SRP you have cloned.

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/CornelBox/Materials/Cornell Box.mat


- _Glossiness: 0.5
- _GlossinessSource: 0
- _GlossyReflections: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/CornelBox/Materials/Cornell Box_green.mat


- _Glossiness: 0.5
- _GlossinessSource: 0
- _GlossyReflections: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/CornelBox/Materials/Cornell Box_red.mat


- _Glossiness: 0.5
- _GlossinessSource: 0
- _GlossyReflections: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

6
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/GroundLeaf/GroundLeaf.mat


m_PrefabInternal: {fileID: 0}
m_Name: GroundLeaf
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _ALPHATEST_ON _DOUBLESIDED_ON _MASKMAP _MATERIAL_FEATURE_SUBSURFACE_SCATTERING
_MATERIAL_FEATURE_TRANSMISSION _NORMALMAP _NORMALMAP_TANGENT_SPACE _THICKNESSMAP
m_ShaderKeywords: _ALPHATEST_ON _DOUBLESIDED_ON _MASKMAP _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP _NORMALMAP_TANGENT_SPACE _THICKNESSMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 1

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

7
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/3DObjects/PerryHead/Head.mat


m_PrefabInternal: {fileID: 0}
m_Name: Head
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION
_NORMALMAP _NORMALMAP_TANGENT_SPACE _THICKNESSMAP
m_ShaderKeywords: _MATERIAL_FEATURE_SUBSURFACE_SCATTERING _MATERIAL_FEATURE_TRANSMISSION _NORMALMAP _NORMALMAP_TANGENT_SPACE _THICKNESSMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

6
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/ComplexMaterial/ComplexMaterial.mat


m_PrefabInternal: {fileID: 0}
m_Name: ComplexMaterial
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _DEPTHOFFSET_ON _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _MASKMAP
_NORMALMAP _NORMALMAP_TANGENT_SPACE _PIXEL_DISPLACEMENT _PIXEL_DISPLACEMENT_LOCK_OBJECT_SCALE
m_ShaderKeywords: _DEPTHOFFSET_ON _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _MASKMAP _NORMALMAP _NORMALMAP_TANGENT_SPACE _PIXEL_DISPLACEMENT _PIXEL_DISPLACEMENT_LOCK_OBJECT_SCALE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.06
- _HeightCenter: 1
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TessellationBackFaceCullEpsilon: -0.675
- _TessellationFactor: 15

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/FourShapes.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.14999999
- _HeightCenter: 0
- _HeightMapParametrization: 1

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TessellationBackFaceCullEpsilon: -0.25
- _TessellationFactor: 64

6
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/FourShapes_POM.mat


m_PrefabInternal: {fileID: 0}
m_Name: FourShapes_POM
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP _NORMALMAP_TANGENT_SPACE
_PIXEL_DISPLACEMENT _PIXEL_DISPLACEMENT_LOCK_OBJECT_SCALE
m_ShaderKeywords: _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP _NORMALMAP_TANGENT_SPACE _PIXEL_DISPLACEMENT _PIXEL_DISPLACEMENT_LOCK_OBJECT_SCALE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.14999999
- _HeightCenter: 1
- _HeightMapParametrization: 1

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TessellationBackFaceCullEpsilon: -0.25
- _TessellationFactor: 64

6
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/FourShapes_POM_DepthOffset.mat


m_PrefabInternal: {fileID: 0}
m_Name: FourShapes_POM_DepthOffset
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _DEPTHOFFSET_ON _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP
_NORMALMAP_TANGENT_SPACE _PIXEL_DISPLACEMENT _PIXEL_DISPLACEMENT_LOCK_OBJECT_SCALE
m_ShaderKeywords: _DEPTHOFFSET_ON _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP _NORMALMAP_TANGENT_SPACE _PIXEL_DISPLACEMENT _PIXEL_DISPLACEMENT_LOCK_OBJECT_SCALE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.14999999
- _HeightCenter: 1
- _HeightMapParametrization: 1

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TessellationBackFaceCullEpsilon: -0.25
- _TessellationFactor: 64

6
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/FourShapes_Tesselation.mat


m_PrefabInternal: {fileID: 0}
m_Name: FourShapes_Tesselation
m_Shader: {fileID: 4800000, guid: 756bac9090102564582875f4c7e30202, type: 3}
m_ShaderKeywords: _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP _NORMALMAP_TANGENT_SPACE
_TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
m_ShaderKeywords: _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP _NORMALMAP _NORMALMAP_TANGENT_SPACE _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.14999999
- _HeightCenter: 1
- _HeightMapParametrization: 1

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TessellationBackFaceCullEpsilon: -0.25
- _TessellationFactor: 64

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/HDRP_Default_Material.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/LIT_BLUE.MAT


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/LIT_CYAN.MAT


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/LIT_RED.MAT


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_Black.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_DarkGrey.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_Green.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_LightGrey.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_MidGrey.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_Purple.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_White.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_Color/Lit_Yellow.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

4
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Lit_PixelGrid.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

27
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/PreRef.mat


m_PrefabInternal: {fileID: 0}
m_Name: PreRef
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords:
m_ShaderKeywords: _NORMALMAP_TANGENT_SPACE
m_CustomRenderQueue: -1
m_CustomRenderQueue: 2000
disabledShaderPasses: []
disabledShaderPasses:
- DistortionVectors
- TransparentDepthPrepass
- TransparentDepthPostpass
- TransparentBackface
- MOTIONVECTORS
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:

- _DisplacementMode: 0
- _DistortionBlendMode: 0
- _DistortionBlurBlendMode: 0
- _DistortionBlurDstBlend: 0
- _DistortionBlurDstBlend: 1
- _DistortionBlurSrcBlend: 0
- _DistortionBlurSrcBlend: 1
- _DistortionDstBlend: 0
- _DistortionDstBlend: 1
- _DistortionSrcBlend: 0
- _DistortionSrcBlend: 1
- _DistortionVectorBias: -1
- _DistortionVectorScale: 2
- _DoubleSidedEnable: 0

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

- _UVBase: 0
- _UVDetail: 0
- _UVEmissive: 0
- _ZTestDepthEqualForOpaque: 4
- _ZTestDepthEqualForOpaque: 3
- _ZTestModeDistortion: 8
- _ZTestModeDistortion: 4
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}

7
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/PreRefractionPassTester.mat


m_PrefabInternal: {fileID: 0}
m_Name: PreRefractionPassTester
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _BLENDMODE_ALPHA _DISABLE_DBUFFER _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE
_REFRACTION_SSRAY_PROXY _SURFACE_TYPE_TRANSPARENT
m_ShaderKeywords: _BLENDMODE_ALPHA _DISABLE_DECALS _NORMALMAP_TANGENT_SPACE _REFRACTION_PLANE _REFRACTION_SSRAY_PROXY _SURFACE_TYPE_TRANSPARENT
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 0
- _SupportDecals: 1
- _SurfaceType: 1
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_00.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_01.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_02.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_03.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_04.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_05.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_06.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_07.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_08.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_09.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_Metal_Smooth_10.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_00.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_01.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_02.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_03.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_04.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_05.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_06.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_07.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_08.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_09.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

3
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Smoothness Variation/HDRP_NonMetal_Smooth_10.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

6
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Transparent.mat


m_PrefabInternal: {fileID: 0}
m_Name: Transparent
m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _BLENDMODE_ALPHA _BLENDMODE_PRESERVE_SPECULAR_LIGHTING _ENABLE_FOG_ON_TRANSPARENT
_NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT
m_ShaderKeywords: _BLENDMODE_ALPHA _BLENDMODE_PRESERVE_SPECULAR_LIGHTING _ENABLE_FOG_ON_TRANSPARENT _NORMALMAP_TANGENT_SPACE _SURFACE_TYPE_TRANSPARENT
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0

- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 1

- _SubsurfaceMask: 1
- _SubsurfaceProfile: 0
- _SubsurfaceRadius: 1
- _SupportDBuffer: 1
- _SupportDecals: 1
- _SurfaceType: 1
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_Black.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_MidGrey.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

4
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_PixelGrid.mat


- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _EnergyConservingSpecularColor: 1
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMapParametrization: 0

- _StencilWriteMaskMV: 128
- _Stiffness: 1
- _SubsurfaceMask: 1
- _SupportDBuffer: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1

- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _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}

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_White.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Materials/Unlit_White_Transparent.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

18
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRP_Test_Def.asset


m_Name: HDRP_Test_Def
m_EditorClassIdentifier:
version: 1
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7,
type: 2}
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, type: 2}
m_FrameSettings:
enableShadow: 1
enableContactShadows: 1

enableTransmission: 1
enableAtmosphericScattering: 1
enableVolumetric: 1
enableVolumetrics: 1
diffuseGlobalDimmer: 1
specularGlobalDimmer: 1
enableForwardRenderingOnly: 0

supportSSAO: 1
supportSubsurfaceScattering: 1
supportOnlyForward: 0
enableUltraQualitySSS: 0
supportVolumetric: 1
increaseSssSampleCount: 0
supportVolumetrics: 1
increaseResolutionOfVolumetrics: 0
supportDitheringCrossFade: 1
supportDBuffer: 1
supportMSAA: 0
msaaSampleCount: 1

shadowInitParams:
shadowAtlasWidth: 4096
shadowAtlasHeight: 4096
maxPointLightShadows: 6
maxSpotLightShadows: 12
maxDirectionalLightShadows: 1
perChannelMask: 1
diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8,
type: 2}
diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8, type: 2}

18
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRP_Test_Def_DepthPrepass.asset


m_Name: HDRP_Test_Def_DepthPrepass
m_EditorClassIdentifier:
version: 1
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7,
type: 2}
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, type: 2}
m_FrameSettings:
enableShadow: 1
enableContactShadows: 1

enableTransmission: 1
enableAtmosphericScattering: 1
enableVolumetric: 1
enableVolumetrics: 1
diffuseGlobalDimmer: 1
specularGlobalDimmer: 1
enableForwardRenderingOnly: 0

supportSSAO: 1
supportSubsurfaceScattering: 1
supportOnlyForward: 0
enableUltraQualitySSS: 0
supportVolumetric: 1
increaseSssSampleCount: 0
supportVolumetrics: 1
increaseResolutionOfVolumetrics: 0
supportDitheringCrossFade: 1
supportDBuffer: 1
supportMSAA: 0
msaaSampleCount: 1

shadowInitParams:
shadowAtlasWidth: 4096
shadowAtlasHeight: 4096
maxPointLightShadows: 6
maxSpotLightShadows: 12
maxDirectionalLightShadows: 1
perChannelMask: 1
diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8,
type: 2}
diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8, type: 2}

18
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRP_Test_Def_DepthPrepass_AlphaOnly.asset


m_Name: HDRP_Test_Def_DepthPrepass_AlphaOnly
m_EditorClassIdentifier:
version: 1
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7,
type: 2}
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, type: 2}
m_FrameSettings:
enableShadow: 1
enableContactShadows: 1

enableTransmission: 1
enableAtmosphericScattering: 1
enableVolumetric: 1
enableVolumetrics: 1
diffuseGlobalDimmer: 1
specularGlobalDimmer: 1
enableForwardRenderingOnly: 0

supportSSAO: 1
supportSubsurfaceScattering: 1
supportOnlyForward: 0
enableUltraQualitySSS: 0
supportVolumetric: 1
increaseSssSampleCount: 0
supportVolumetrics: 1
increaseResolutionOfVolumetrics: 0
supportDitheringCrossFade: 1
supportDBuffer: 1
supportMSAA: 0
msaaSampleCount: 1

shadowInitParams:
shadowAtlasWidth: 4096
shadowAtlasHeight: 4096
maxPointLightShadows: 6
maxSpotLightShadows: 12
maxDirectionalLightShadows: 1
perChannelMask: 1
diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8,
type: 2}
diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8, type: 2}

18
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRP_Test_Fwd.asset


m_Name: HDRP_Test_Fwd
m_EditorClassIdentifier:
version: 1
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7,
type: 2}
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, type: 2}
m_FrameSettings:
enableShadow: 1
enableContactShadows: 1

enableTransmission: 1
enableAtmosphericScattering: 1
enableVolumetric: 1
enableVolumetrics: 1
diffuseGlobalDimmer: 1
specularGlobalDimmer: 1
enableForwardRenderingOnly: 1

supportSSAO: 1
supportSubsurfaceScattering: 1
supportOnlyForward: 0
enableUltraQualitySSS: 0
supportVolumetric: 1
increaseSssSampleCount: 0
supportVolumetrics: 1
increaseResolutionOfVolumetrics: 0
supportDitheringCrossFade: 1
supportDBuffer: 1
supportMSAA: 0
msaaSampleCount: 1

shadowInitParams:
shadowAtlasWidth: 4096
shadowAtlasHeight: 4096
maxPointLightShadows: 6
maxSpotLightShadows: 12
maxDirectionalLightShadows: 1
perChannelMask: 1
diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8,
type: 2}
diffusionProfileSettings: {fileID: 11400000, guid: 802c802428a2d9640a87e821dfcdd9e8, type: 2}

17
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/RP_Assets/HDRenderPipelineAsset.asset


m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3}
m_Name: HDRenderPipelineAsset
m_EditorClassIdentifier:
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7,
type: 2}
version: 1
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, type: 2}
m_FrameSettings:
enableShadow: 1
enableContactShadows: 1

enableTransmission: 1
enableAtmosphericScattering: 1
enableVolumetric: 1
enableVolumetrics: 1
diffuseGlobalDimmer: 1
specularGlobalDimmer: 1
enableForwardRenderingOnly: 0

supportSSAO: 1
supportSubsurfaceScattering: 1
supportOnlyForward: 0
enableUltraQualitySSS: 0
supportVolumetric: 1
increaseSssSampleCount: 0
supportVolumetrics: 1
increaseResolutionOfVolumetrics: 0
supportRuntimeDebugDisplay: 1
supportDitheringCrossFade: 1
supportDBuffer: 0
supportMSAA: 0
msaaSampleCount: 1

shadowInitParams:
shadowAtlasWidth: 4096
shadowAtlasHeight: 4096
maxPointLightShadows: 6
maxSpotLightShadows: 12
maxDirectionalLightShadows: 1
perChannelMask: 1
allowShaderVariantStripping: 1
diffusionProfileSettings: {fileID: 0}

6
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/ScenePrefabs/HDRP_Test_Camera.prefab


enableSubsurfaceScattering: 1
enableTransmission: 1
enableAtmosphericScattering: 1
enableVolumetric: 1
enableVolumetrics: 1
diffuseGlobalDimmer: 1
specularGlobalDimmer: 1
enableForwardRenderingOnly: 0

ImageComparisonSettings:
TargetWidth: 1920
TargetHeight: 1080
PerPixelCorrectnessThreshold: 0.01
AverageCorrectnessThreshold: 0.01
PerPixelCorrectnessThreshold: 0.001
AverageCorrectnessThreshold: 0.0001
doBeforeTest:
m_PersistentCalls:
m_Calls: []

19
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Scripts/Editor/HDRP_Tests_Editor.asmdef


{
"name": "HDRP_Tests_Editor",
"references": [
"com.unity.postprocessing.Editor",
"com.unity.render-pipelines.core.Editor",
"com.unity.render-pipelines.high-defintion.Editor",
"Unity.RenderPipelines.Core.Runtime",
"Unity.RenderPipelines.Core.Editor",
"Unity.Postprocessing.Runtime",
"com.unity.postprocessing.Runtime",
"com.unity.render-pipelines.core.IncludePaths",
"com.unity.render-pipelines.core.Runtime",
"com.unity.render-pipelines.high-definition.Runtime"
"Unity.Postprocessing.Editor",
"Unity.RenderPipelines.HighDefinition.Runtime",
"Unity.RenderPipelines.HighDefinition.Editor"
],
"optionalUnityReferences": [],
"includePlatforms": [

"allowUnsafeCode": false
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": []
}

13
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Scripts/HDRP_Tests.asmdef


{
"name": "HDRP_Tests",
"references": [
"com.unity.postprocessing.Runtime",
"com.unity.render-pipelines.core.IncludePaths",
"com.unity.render-pipelines.core.Runtime",
"com.unity.render-pipelines.high-definition.Runtime",
"Unity.RenderPipelines.Core.Runtime",
"Unity.Postprocessing.Runtime",
"Unity.RenderPipelines.HighDefinition.Runtime",
"allowUnsafeCode": false
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": []
}

4
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/Scripts/WriteShaderToRenderTexture.cs


public class WriteShaderToRenderTexture : MonoBehaviour
{
[SerializeField] RenderTexture rt = null;
[SerializeField] Shader shader = null;
[SerializeField] RenderTexture rt;
[SerializeField] Shader shader;
// Use this for initialization
void Start ()

62
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/TestRunner/HDRP_GraphicTestRunner.cs


using UnityEngine.SceneManagement;
using UnityEngine.Events;
#if UNITY_EDITOR
using UnityEditor;
using EditorSceneManagement = UnityEditor.SceneManagement;
#endif
public class HDRP_GraphicTestRunner : IPrebuildSetup
public class HDRP_GraphicTestRunner
{
[UnityTest, Category("HDRP Graphic Tests")]
[PrebuildSetup("SetupGraphicsTestCases")]

yield return null;
ImageAssert.AreEqual(testCase.ReferenceImage, camera, (settings != null)?settings.ImageComparisonSettings:null);
}
public void Setup()
{
#if UNITY_EDITOR
// Search for "InitTestSceneXXXXXXXX" generated by test runner and save the path in the EditorPrefs
for (int i=0 ; i<EditorSceneManagement.EditorSceneManager.sceneCount ; ++i)
{
Scene scene = EditorSceneManagement.EditorSceneManager.GetSceneAt(i);
if (scene.name.StartsWith("InitTestScene"))
{
EditorPrefs.SetString("InitTestScene", scene.path);
break;
}
}
string scenesWithAutoLightMap = "";
// For each scene in the build settings, force build of the lightmaps if it has "DoLightmap" label.
foreach( EditorBuildSettingsScene scene in EditorBuildSettings.scenes)
{
SceneAsset sceneAsset = AssetDatabase.LoadAssetAtPath<SceneAsset>(scene.path);
var labels = new System.Collections.Generic.List<string>(AssetDatabase.GetLabels(sceneAsset));
if ( labels.Contains("DoLightmap") )
{
EditorSceneManagement.EditorSceneManager.OpenScene(scene.path, EditorSceneManagement.OpenSceneMode.Single);
Lightmapping.giWorkflowMode = Lightmapping.GIWorkflowMode.OnDemand;
EditorSceneManagement.EditorSceneManager.SaveOpenScenes();
Lightmapping.Clear();
Lightmapping.Bake();
scenesWithAutoLightMap += scene.path + ";";
EditorSceneManagement.EditorSceneManager.SaveOpenScenes();
Lightmapping.giWorkflowMode = Lightmapping.GIWorkflowMode.Iterative;
EditorSceneManagement.EditorSceneManager.SaveOpenScenes();
EditorSceneManagement.EditorSceneManager.NewScene(EditorSceneManagement.NewSceneSetup.EmptyScene);
}
}
EditorPrefs.SetString("ScenesWithAutoLightMap", scenesWithAutoLightMap);
// Re-open testrunner scene
string initTestSceneString = EditorPrefs.GetString("InitTestScene");
if (!string.IsNullOrEmpty(initTestSceneString))
{
EditorSceneManagement.EditorSceneManager.OpenScene(initTestSceneString, EditorSceneManagement.OpenSceneMode.Single);
}
#endif
}
#if UNITY_EDITOR

13
TestProjects/HDRP_Tests/Assets/GraphicTests/Common/TestRunner/HDRP_TestRunner.asmdef


{
"name": "HDRP_TestRunner",
"references": [
"com.unity.postprocessing.Runtime",
"com.unity.render-pipelines.core.IncludePaths",
"com.unity.render-pipelines.core.Runtime",
"com.unity.render-pipelines.high-definition.Runtime",
"Unity.RenderPipelines.HighDefinition.Runtime",
"Unity.Postprocessing.Runtime",
"Unity.RenderPipelines.Core.Runtime",
"UnityEngine.TestTools.Graphics"
],
"optionalUnityReferences": [

"excludePlatforms": [],
"allowUnsafeCode": false
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": []
}

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/01_Unlit_Simple.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/02_Unlit_Trans_Alpha.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/03_Unlit_Trans_Alpha_PreRefractionPass.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/04_Unlit_DoubleSide.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/05_Unlit_DoubleSide_Transparent.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/06_Unlit_DoubleSide_Transparent_PreRefractionPass.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/07_Unlit_Textured.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/08_Unlit_Textured_Transparent.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/09_Unlit_Textured_Trans_Alpha_PreRefractionPass.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/10_Unlit_Textured_DoubleSide.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/11_Unlit_Textured_Transparent_DoubleSide.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/12_Unlit_Textured_Trans_Alpha_PreRefractionPass_DoubleSide.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/13_Unlit_Textured_AlphaCutoff.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/14_Unlit_Textured_Transparent_AlphaCutoff.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/15_Unlit_Textured_Trans_Alpha_PreRefractionPass_AlphaCutoff.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/16_Unlit_Textured_AlphaCutoff_Doubleside.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/17_Unlit_Textured_Transparent_AlphaCutoff_Doubleside.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Color/18_Unlit_Textured_Trans_Alpha_PreRefractionPass_AlphaCutoff_Doubleside.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/01_Unlit_Simple.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/02_Unlit_Trans_Alpha.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/03_Unlit_Trans_Alpha_PreRefractionPass.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/04_Unlit_DoubleSide.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

4
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/05_Unlit_DoubleSide_Transparent.mat


m_PrefabInternal: {fileID: 0}
m_Name: 05_Unlit_DoubleSide_Transparent
m_Shader: {fileID: 4800000, guid: c4edd00ff2db5b24391a4fcb1762e459, type: 3}
m_ShaderKeywords: _BLENDMODE_ALPHA _DOUBLESIDED_ON _EMISSIVE_COLOR_MAP _ENABLE_FOG_ON_TRANSPARENT
_SURFACE_TYPE_TRANSPARENT
m_ShaderKeywords: _BLENDMODE_ALPHA _DOUBLESIDED_ON _EMISSIVE_COLOR_MAP _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 1

- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

4
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/06_Unlit_DoubleSide_Transparent_PreRefractionPass.mat


m_PrefabInternal: {fileID: 0}
m_Name: 06_Unlit_DoubleSide_Transparent_PreRefractionPass
m_Shader: {fileID: 4800000, guid: c4edd00ff2db5b24391a4fcb1762e459, type: 3}
m_ShaderKeywords: _BLENDMODE_ALPHA _DOUBLESIDED_ON _EMISSIVE_COLOR_MAP _ENABLE_FOG_ON_TRANSPARENT
_SURFACE_TYPE_TRANSPARENT
m_ShaderKeywords: _BLENDMODE_ALPHA _DOUBLESIDED_ON _EMISSIVE_COLOR_MAP _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 1

- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/07_Unlit_Textured.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/08_Unlit_Textured_Transparent.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/09_Unlit_Textured_Trans_Alpha_PreRefractionPass.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/10_Unlit_Textured_DoubleSide.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/11_Unlit_Textured_Transparent_DoubleSide.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/12_Unlit_Textured_Trans_Alpha_PreRefractionPass_DoubleSide.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/13_Unlit_Textured_AlphaCutoff.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/14_Unlit_Textured_Transparent_AlphaCutoff.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/15_Unlit_Textured_Trans_Alpha_PreRefractionPass_AlphaCutoff.mat


- _EnableFogOnTransparent: 0
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

1
TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1101_Unlit/Emissive_Texture/16_Unlit_Textured_AlphaCutoff_Doubleside.mat


- _EnableFogOnTransparent: 1
- _EnableSpecularOcclusion: 0
- _EnableWind: 0
- _HdrpVersion: 2
- _HeightAmplitude: 0.02
- _HeightCenter: 0.5
- _HeightMax: 1

部分文件因为文件数量过多而无法显示

正在加载...
取消
保存