2018.0.3f

里面directional light开了shadow 就会有一张updatedepth

如果距离远 没有阴影就没有shadow pass 但是updatedepth没有关掉 管线后面也没有对这张depth tex的引用

如果距离在实时阴影产生范围之内 会用screen space shadow 

updatedepth就是给screen space shadow用的

 

这里有些shit

开shadow的情况下 用camera.DepthTextureMode.NONE 并不能关掉updatedepth

 

screen space shadow 的开关在 graphic setting 里

cascaded shadows 对就是级联。。。关了这里(要选对当前tier)

 

updatedepthTexture 的有无取决于 Camera

            Camera.main.depthTextureMode = DepthTextureMode.Depth

相关文章:

  • 2021-04-26
  • 2022-12-23
  • 2020-06-28
  • 2022-12-23
  • 2022-12-23
  • 2021-05-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-31
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
相关资源
相似解决方案