Scene Depth
Hello! I want to make a shader that renders greyscale depth of a game object. Therefore, when a player watch a cube with that shader, the cube will change its color based on the distance between the player and the cube. Like a picture below but just one object with this texture. I am not very good at HLSL. How should I do that?346Views0likes0CommentsHow to get Real-time Depth data by Quest 3?
I'm wondering if the current Quest 3 offers any APIs that allow real-time retrieval of depth data. I'm interested in whether it can capture 3D data of scanned objects after a full rotation, or any other applications. Uncertain about its accuracy or whether it aligns with what I envision, but I'm eager to experiment and explore its capabilities. I haven't found relevant information in the Unity-DepthAPI.2.8KViews2likes2Comments