浏览代码

Removed temporary shadow slice data struct again, as the lowendrenderpipeline declares its own struct now instead of using the renderpass.

/main
uygar 8 年前
当前提交
00cc82b2
共有 1 个文件被更改,包括 1 次插入19 次删除
  1. 20
      Assets/ScriptableRenderPipeline/RenderPasses/ShadowRenderPass.cs

20
Assets/ScriptableRenderPipeline/RenderPasses/ShadowRenderPass.cs


//#define SHADOWS_OLD
#if !SHADOWS_OLD
using UnityEngine.Rendering;
using UnityEngine.Profiling;
using System.Collections.Generic;
using System;
namespace UnityEngine.Experimental.Rendering
{
public struct ShadowSliceData
{
public Matrix4x4 shadowTransform;
public int atlasX;
public int atlasY;
public int shadowResolution;
}
}
#else
#if SHADOWS_OLD
using UnityEngine.Rendering;
using UnityEngine.Profiling;
using System.Collections.Generic;

正在加载...
取消
保存