您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
55 行
2.1 KiB
55 行
2.1 KiB
namespace UnityEngine.Experimental.Rendering.HDPipeline
|
|
{
|
|
public class RenderPipelineResources : ScriptableObject
|
|
{
|
|
// Debug
|
|
public Shader debugDisplayLatlongShader;
|
|
public Shader debugViewMaterialGBufferShader;
|
|
public Shader debugViewTilesShader;
|
|
public Shader debugFullScreenShader;
|
|
|
|
// Lighting resources
|
|
public Shader deferredShader;
|
|
public ComputeShader gaussianPyramidCS;
|
|
public ComputeShader depthPyramidCS;
|
|
public ComputeShader copyChannelCS;
|
|
public ComputeShader applyDistortionCS;
|
|
|
|
// Lighting tile pass resources
|
|
public ComputeShader clearDispatchIndirectShader;
|
|
public ComputeShader buildDispatchIndirectShader;
|
|
public ComputeShader buildScreenAABBShader;
|
|
public ComputeShader buildPerTileLightListShader; // FPTL
|
|
public ComputeShader buildPerBigTileLightListShader;
|
|
public ComputeShader buildPerVoxelLightListShader; // clustered
|
|
public ComputeShader buildMaterialFlagsShader;
|
|
public ComputeShader deferredComputeShader;
|
|
public ComputeShader deferredDirectionalShadowComputeShader;
|
|
public ComputeShader volumetricLightingCS;
|
|
|
|
// Subsurface scattering
|
|
// These shaders don't need to be reference by RenderPipelineResource as they are not use at runtime (only to draw in editor)
|
|
// public Shader drawSssProfile;
|
|
// public Shader drawTransmittanceGraphShader;
|
|
|
|
public ComputeShader subsurfaceScatteringCS; // Disney SSS
|
|
public Shader subsurfaceScattering; // Jimenez SSS
|
|
public Shader combineLighting;
|
|
|
|
// General
|
|
public Shader cameraMotionVectors;
|
|
public Shader copyStencilBuffer;
|
|
|
|
// Sky
|
|
public Shader blitCubemap;
|
|
public ComputeShader buildProbabilityTables;
|
|
public ComputeShader computeGgxIblSampleData;
|
|
public Shader GGXConvolve;
|
|
public Shader opaqueAtmosphericScattering;
|
|
|
|
public Shader skyboxCubemap;
|
|
|
|
// Utilities
|
|
public ComputeShader encodeBC6HCS;
|
|
}
|
|
}
|