浏览代码

Remove the redundant +1

/Yibing-Project-2
Evgenii Golubev 7 年前
当前提交
6374ac14
共有 2 个文件被更改,包括 15 次插入15 次删除
  1. 4
      ScriptableRenderPipeline/HDRenderPipeline/Debug/DebugDisplay.cs
  2. 26
      ScriptableRenderPipeline/HDRenderPipeline/Debug/DebugDisplay.cs.hlsl

4
ScriptableRenderPipeline/HDRenderPipeline/Debug/DebugDisplay.cs


public enum DebugViewGbuffer
{
None = 0,
Depth = DebugViewVarying.Last + 1,
Depth = DebugViewVarying.Last,
BakeDiffuseLightingWithAlbedoPlusEmissive,
BakeShadowMask0,
BakeShadowMask1,

public enum DebugViewProperties
{
None = 0,
Tessellation = DebugViewGbuffer.Last + 1,
Tessellation = DebugViewGbuffer.Last,
PixelDisplacement,
VertexDisplacement,
TessellationDisplacement,

26
ScriptableRenderPipeline/HDRenderPipeline/Debug/DebugDisplay.cs.hlsl


// UnityEngine.Experimental.Rendering.HDPipeline.Attributes.DebugViewGbuffer: static fields
//
#define DEBUGVIEWGBUFFER_NONE (0)
#define DEBUGVIEWGBUFFER_DEPTH (11)
#define DEBUGVIEWGBUFFER_BAKE_DIFFUSE_LIGHTING_WITH_ALBEDO_PLUS_EMISSIVE (12)
#define DEBUGVIEWGBUFFER_BAKE_SHADOW_MASK0 (13)
#define DEBUGVIEWGBUFFER_BAKE_SHADOW_MASK1 (14)
#define DEBUGVIEWGBUFFER_BAKE_SHADOW_MASK2 (15)
#define DEBUGVIEWGBUFFER_BAKE_SHADOW_MASK3 (16)
#define DEBUGVIEWGBUFFER_LAST (17)
#define DEBUGVIEWGBUFFER_DEPTH (10)
#define DEBUGVIEWGBUFFER_BAKE_DIFFUSE_LIGHTING_WITH_ALBEDO_PLUS_EMISSIVE (11)
#define DEBUGVIEWGBUFFER_BAKE_SHADOW_MASK0 (12)
#define DEBUGVIEWGBUFFER_BAKE_SHADOW_MASK1 (13)
#define DEBUGVIEWGBUFFER_BAKE_SHADOW_MASK2 (14)
#define DEBUGVIEWGBUFFER_BAKE_SHADOW_MASK3 (15)
#define DEBUGVIEWGBUFFER_LAST (16)
#define DEBUGVIEWPROPERTIES_TESSELLATION (18)
#define DEBUGVIEWPROPERTIES_PIXEL_DISPLACEMENT (19)
#define DEBUGVIEWPROPERTIES_VERTEX_DISPLACEMENT (20)
#define DEBUGVIEWPROPERTIES_TESSELLATION_DISPLACEMENT (21)
#define DEBUGVIEWPROPERTIES_DEPTH_OFFSET (22)
#define DEBUGVIEWPROPERTIES_LIGHTMAP (23)
#define DEBUGVIEWPROPERTIES_TESSELLATION (16)
#define DEBUGVIEWPROPERTIES_PIXEL_DISPLACEMENT (17)
#define DEBUGVIEWPROPERTIES_VERTEX_DISPLACEMENT (18)
#define DEBUGVIEWPROPERTIES_TESSELLATION_DISPLACEMENT (19)
#define DEBUGVIEWPROPERTIES_DEPTH_OFFSET (20)
#define DEBUGVIEWPROPERTIES_LIGHTMAP (21)
//
// UnityEngine.Experimental.Rendering.HDPipeline.FullScreenDebugMode: static fields

正在加载...
取消
保存