Jump to content
  • Advertisement
Sign in to follow this  
Infinity8378

How to render a Zdepth texture With Blender or other?

This topic is 660 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

Topic Title

 

https://blenderartists.org/forum/showthread.php?220004-Getting-the-depth-buffer

 

'

I got Zdepth on blender's site.

 

But I don't know how to do the node editor so that i can read sqrt(X^2+Y^2) per pixel as a x=480 by y=360 texture

 

Wi=z(c^2(1+z/c)

 

So once i get the Node editor which i confused with GLSL to read in C or C^2 per pixel i'll have Wi

Edited by Infinity8378

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!