Pixel Depth

Node-based Shader Editor

Pixel Depth

Postby sethhall » Tue Oct 09, 2018 9:49 pm

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
sethhall
 
Posts: 20
Joined: Mon Jun 25, 2018 11:09 pm

Re: Pixel Depth

Postby Amplify_Borba » Wed Oct 10, 2018 9:43 am

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

Postby Amplify_Borba » Thu Oct 11, 2018 2:56 pm

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.88 KiB) Viewed 2935 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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 0 guests

cron