UE4 CustomDepth的理解

  1. 在后处理中,CustomDepth在这里插入图片描述中,Actor在正常状态RenderCustomDepth(false)与开启RenderCustomDepth(true)与0的大小比较
  2. 验证:在这里插入图片描述
  3. 正常结果在这里插入图片描述
  4. 开启RenderCustomDepth(true)在这里插入图片描述
  5. 事实证明:不管是否开启CustomDepthPass,CustomDepth的值都是大于零的;通过https://blog.csdn.net/qq_21919621/article/details/106266682通过这篇文章已经得知开启CustomDepthPass(true),CustomDepth与SceneDepth相等,关闭CustomDepthPass(false)CustomDepth大于SceneDepth
  6. 延申和思考在这里插入图片描述
  7. 贴图证明在这里插入图片描述在这里插入图片描述在这里插入图片描述在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_21919621/article/details/106267185
UE4