Our engine uses one of the methods that are proposed on this website: http://mynameismjp.wordpress.com/2009/03/10/reconstructing-position-from-depth/
The link here though gives you directly to the one you seem to be trying to achieve.
The difference between GLSL and HLSL is pretty small so hopefully there shouldn't be any problems. But if you do get problems or you find what he has written hard to understand I'll help you out. Though give that link a try first
GroogyMember Since 20 May 2011
Offline Last Active Jan 31 2013 03:04 AM
- Group Members
- Active Posts 4
- Profile Views 708
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
- Website URL http://www.groogy.se
Groogy hasn't added any contacts yet.