Lol i have compiled your code and did the same with this double (changed to float) but still cant read the winZ lol ; ]
remember to read pixels only when you have depth buffer filled with this what you want to check, do ont call getoglpos whenever you want because t might not work
Show differencesHistory of post edits
#2___
Posted 12 October 2012 - 11:13 AM
Lol i have compiled your code and did the same with this double (changed to float) but still cant read the winZ lol ; ]
#1___
Posted 12 October 2012 - 11:13 AM
Lol i have compiled your code and did the same with this double (changet to float) but till cant read the winZ lol ; ]