Advertisement

Latest rendertotexture Activity

Depth in Depth buffer texture is always 1

I think I solved it, Instead of loading, I sampled, using float values instead of integers, then I made the depth linear which in return gave me correct values.

3,639 views
Advertisement
Advertisement
Advertisement