浏览代码

Adding some comments to the depth check shader

/keypoint_self_occlusion
Jon Hogins 3 年前
当前提交
77d864af
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 8
      com.unity.perception/Runtime/GroundTruth/Resources/KeypointDepthCheck.shader

8
com.unity.perception/Runtime/GroundTruth/Resources/KeypointDepthCheck.shader


Shader "Perception/KeypointDepthCheck"
//This shader takes in keypoint positions and minimum depth values as pixels
//in a pair of textures and compares them with the depth image to see if any
//objects are occluding the keypoint
Shader "Perception/KeypointDepthCheck"
//2d position in screen space of each keypoint
//minimum allowable depth of geometry in the direction ot each keypoint
//The rendered depth texture
_DepthTexture("Depth", 2DArray) = "defaultTexture" {}
}

正在加载...
取消
保存