Advertisement Jump to content
Sign in to follow this  
Infinity8378

How to render a Zdepth texture With Blender or other?

This topic is 839 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!