unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Unreal Tournament

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2010, 04:17 AM
disco disco is offline
Administrator
 
Join Date: Feb 2010
Posts: 271
Default [UE3] Direct3D Model Occlusion Exploit

Posted by JaguarXJR.




By s0beit:

Code:
Ever had models behind walls, but you couldn't see them because UE3 occluded them?
 
Never fear!
 
HRESULT WINAPI new_CreateQuery(LPDIRECT3DDEVICE9 pDevice, D3DQUERYTYPE Type,IDirect3DQuery9** ppQuery)
{
 
if( Type == D3DQUERYTYPE_OCCLUSION )
{
Type = D3DQUERYTYPE_TIMESTAMP;
}
 
return gOriginalDevice.CreateQuery( pDevice, Type, ppQuery );
}
 
 
 
this will return a non-zero value for the number of pixels visible from your camera's position, so, they will always be drawn now.
 
I do not know if this has a great performance hit but in case it does, just check the returnaddress (or returnaddress of the returnaddress )
 
hf
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
direct3d, exploit, model, occlusion, ue3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 07:55 PM.