Thanks guys :) but i'm not really the creator of this effect :)
look this very nice code :
http://www.blitzbasic.com/codearcs/codearcs.php?code=578
I have modify a little bit the norc code :) enjoy :)
The fake refraction effect is very easy to add :)
PointEntity F\Camera,F\EntityIn
PositionEntity F\Camera,EntityX(F\EntityIn,1),EntityY(F\EntityIn,1),EntityZ(F\EntityIn,1),1
Add this line ;
RotateEntity F\Camera,-EntityPitch(F\EntityIn,1),-EntityYaw(F\EntityIn,1),EntityRoll(F\EntityIn,1),1
look this very nice code :
http://www.blitzbasic.com/codearcs/codearcs.php?code=578
I have modify a little bit the norc code :) enjoy :)
The fake refraction effect is very easy to add :)
PointEntity F\Camera,F\EntityIn
PositionEntity F\Camera,EntityX(F\EntityIn,1),EntityY(F\EntityIn,1),EntityZ(F\EntityIn,1),1
Add this line ;
RotateEntity F\Camera,-EntityPitch(F\EntityIn,1),-EntityYaw(F\EntityIn,1),EntityRoll(F\EntityIn,1),1