浏览代码

Fixed shadow map creation code in the shadow framework.

/main
Julien Ignace 7 年前
当前提交
536372e5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ScriptableRenderPipeline/Core/Shadow/Shadow.cs

1
ScriptableRenderPipeline/Core/Shadow/Shadow.cs


{
m_Shadowmap = new RenderTexture( (int) m_Width, (int) m_Height, (int) m_ShadowmapBits, m_ShadowmapFormat, RenderTextureReadWrite.Linear );
CreateShadowmap( m_Shadowmap );
m_Shadowmap.Create();
}
virtual protected void CreateShadowmap( RenderTexture shadowmap )

正在加载...
取消
保存