您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
34 行
1.1 KiB
34 行
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering;
|
|
#if UNITY_EDITOR
|
|
using UnityEditor;
|
|
#endif
|
|
|
|
namespace UnityEngine.Experimental.Rendering.HDPipeline
|
|
{
|
|
public class HDRenderPipelineSetup : ScriptableObject
|
|
{
|
|
#if UNITY_EDITOR
|
|
[UnityEditor.MenuItem("RenderPipeline/CreateHDPipelineSetup")]
|
|
static void CreateHDRenderPipelineSetup()
|
|
{
|
|
var instance = ScriptableObject.CreateInstance<HDRenderPipelineSetup>();
|
|
UnityEditor.AssetDatabase.CreateAsset(instance, "Assets/HDRenderPipelineSetup.asset");
|
|
}
|
|
#endif
|
|
public ComputeShader buildScreenAABBShader = null;
|
|
public ComputeShader buildPerTileLightListShader = null; // FPTL
|
|
public ComputeShader buildPerBigTileLightListShader = null;
|
|
public ComputeShader buildPerVoxelLightListShader = null; // clustered
|
|
public ComputeShader shadeOpaqueShader = null;
|
|
|
|
// Various set of material use in render loop
|
|
public Shader m_DebugViewMaterialGBuffer;
|
|
|
|
// For image based lighting
|
|
public Shader m_InitPreFGD;
|
|
|
|
}
|
|
}
|