Originally Posted by
d.vel.oper
lol, except you'll get detected. PB checks the device pointer and other things, so wrapper classes will get you kicked. I'd post my vtable hooking source, but I swear to god all you kiddies would be releasing your little cut and paste 'hacks' and fuck that method up too.
OWS, if you have MSN, add me (matt@eth3r.info), I'd like to discuss some things with you, since you're not just another cut and paste 'coder'.
P.S: Your cut and paste uses shaders, so it's not going to be compatible with all video cards. Here's a hint: SetTexture(1, yourTexture);
That'll blend the original model texture with your colored texture. Looks nice, and is pretty much compatible with any video card.