浏览代码

line endings and remove unused code

/main
Joachim Ante 8 年前
当前提交
8c526b38
共有 4 个文件被更改,包括 825 次插入1200 次删除
  1. 1001
      Assets/ScriptableRenderLoop/ForwardRenderLoop/ValveMenuTools.cs
  2. 1001
      Assets/ScriptableRenderLoop/ForwardRenderLoop/ValveShaderGUI.cs
  3. 15
      Assets/ScriptableRenderLoop/RenderPasses/ShadowRenderPass.cs
  4. 8
      ScriptableRenderLoop.userprefs

1001
Assets/ScriptableRenderLoop/ForwardRenderLoop/ValveMenuTools.cs
文件差异内容过多而无法显示
查看文件

1001
Assets/ScriptableRenderLoop/ForwardRenderLoop/ValveShaderGUI.cs
文件差异内容过多而无法显示
查看文件

15
Assets/ScriptableRenderLoop/RenderPasses/ShadowRenderPass.cs


public ShadowLight[] shadowLights;
public Vector4[] directionalShadowSplitSphereSqr;
public int GetShadowSliceCountShadowIndex(int lightIndex)
{
return shadowLights [lightIndex].shadowSliceCount;
}
public ShadowSliceData GetShadowSliceLightIndex(int lightIndex, int sliceIndex)
{
if (shadowLights[lightIndex].shadowSliceCount >= sliceIndex)
throw new System.IndexOutOfRangeException ();
return shadowSlices[shadowLights[lightIndex].shadowSliceIndex + sliceIndex];
}
public int GetShadowSliceCountLightIndex(int lightIndex)
{
return shadowLights[lightIndex].shadowSliceCount;

var setRenderTargetCommandBuffer = new CommandBuffer ();
setRenderTargetCommandBuffer.GetTemporaryRT (m_ShadowTexName, m_Settings.shadowAtlasWidth, m_Settings.shadowAtlasHeight, kDepthBuffer, FilterMode.Bilinear, RenderTextureFormat.Shadowmap, RenderTextureReadWrite.Linear);
//setRenderTargetCommandBuffer.GetTemporaryRT (m_ShadowTexName, m_Settings.shadowAtlasWidth, m_Settings.shadowAtlasHeight, kDepthBuffer, FilterMode.Bilinear, RenderTextureFormat.ARGB32, RenderTextureReadWrite.Linear);
setRenderTargetCommandBuffer.SetRenderTarget (new RenderTargetIdentifier (m_ShadowTexName));
setRenderTargetCommandBuffer.ClearRenderTarget (true, true, Color.green);

8
ScriptableRenderLoop.userprefs


<Properties StartupItem="Assembly-CSharp.csproj">
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
<MonoDevelop.Ide.Workbench />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>
正在加载...
取消
保存