Hi (first of all sorry for my bad english :) )
i injected my dll into udk(Close Source) and now i have access to beginstate , Endstate and also Device :D
i want to read stencil buffer data but i couldn't because in udk
Device->GetDepthStencilSurface(&depthbuffer)) return error (D3DERR_NOTFOUND)
but i need to read depth of scene from UDK
is there any solution to read depth of scene it in this situation ( i think udk use depth buffer for sth else)
if not can i read or compute it with another trick like using hlsl or sth else (anythings)
thank you very much