Pixel Depth

Node-based Shader Editor
Post Reply
sethhall
Posts: 20
Joined: Mon Jun 25, 2018 11:09 pm

Pixel Depth

Post by sethhall »

I'm trying to create a shader for depth intersection. In the past I've subtracted the camera depth from the pixel depth, etc ... Is there a Pixel Depth node in Amplify or something equivalent I'm not sure of?

Seth
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Pixel Depth

Post by Amplify_Borba »

Hello! We do have a Depth Fade node, which internally calculates the difference between each pixel's current depth and the value fetched from the depth buffer on that specific location.

Please let me know if this is what you were looking for, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Pixel Depth

Post by Amplify_Borba »

Through our last email exchange I've shared a sample which may be useful for others, so I'll be leaving it in this post as well:
E0PQngJ.jpg
E0PQngJ.jpg (57.69 KiB) Viewed 4890 times
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply