i'm doing deferred shading. i use a framebuffer which attach 4 color texture and 1 depth texture as geometrypass. i try to rebuild world position using depth, and use it for lighting. so i need to use depth in my fragment shader,and i want my depth
↧