Game Development Community

After I zoom I get blur whenever i look off my terrain.

by Michael Walsh · in Torque Game Engine · 01/15/2010 (10:56 pm) · 5 replies

Hi there!

Soon-to-be customer here, I was playing around with the demo for a bit and I noticed that when I'm playing the game, if I use the zoom at all, everytime i look at my skybox, the screen blurs, and when I look back down at my terrain the blur goes away. Everything is completely normal until i press the zoom button, after the zoom button is pressed once, this happens every time, zoomed in or not. I have to restart the whole game for it to go away.

Any clues as to why this is happening?

thanks
-Mike

#1
01/16/2010 (12:34 am)
I'm assuming you're using T3D, not TGE - if that's the case, then it's probably the DOF at play. I'm not sure what you need to do to fix it, but I'm sure it can be fixed.

For some reason, T3D's DOF makes my eyes water :P.
#2
01/16/2010 (12:53 am)
Depth of Field ... it's supposed to do that, it's just that it can't turn itself on from the start (for some reason).
#3
01/16/2010 (2:43 am)
Enter DOFPostEffect.disable(); into the console to turn it off.

Seems like the 1.0 release has a script bug which caused it to sometimes stick. Its resolved for the 1.1 beta.
#4
01/16/2010 (2:47 am)
It seems like you should be able to adjust the parameters to avoid the sky being blurred out though, right...? Unless that's the script bug you're referring to.

EDIT: Never mind - I think I understand now :P.
#5
01/16/2010 (12:09 pm)
That's what i figured is that the DOF effect is just sticking from the zoom, it's just interesting how it only triggers when you look at the sky haha..