updatedepthtexture 和 screen space shadow 开关
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