Game Development Community

Depth of Field for TGEA 1.7.1 Now Available

by Lorne McIntosh · 01/30/2009 (3:55 pm) · 2 comments


After numerous requests from the community to support our Depth of Field Shader for TGEA 1.7.1 we were able to develop one and it is now available at the Ubiq Visuals Store

Features
Depth of Field will work on all objects in your scene including alpha-mapped geometry such as tree branches or window panes. All parameters are fully adjustable in real time, including:

Focal Distance - distance from camera at which objects are perfectly in focus (can change instantly, or smoothly over a given number of seconds)
Focal Length - distance from the center of the lens to the focal point of the lens.
Aperture - specifies the diameter of the opening of the lens through which light enters the camera. This in combination with focal length can control the length of your depth of field.
Our example code also demonstrates a "manual focus" and "auto focus" mode with smooth transitions while adjusting focus.


Possible Uses
Create cut scenes with a truly cinematic feel. Draw the player's eye toward important objects in the scene. For example, racking the focus back and forth between talking characters.

Create realistic scope and "iron sight" effects for your weapons and binoculars. Blur out the weapon, but leave the scene in focus. Or, automatically adjust the focus as the player aims between near objects and far objects.

Blur out the background to save time creating assets and get a boost in performance.

About the author

Ubiq Visuals is a software and creative content developer for the entertainment industry. Our vision is to provide inspiration and the tools for soon-to-be game designers and creative minds of all ages.


#1
01/30/2009 (5:23 pm)
Lorne, Thanks for this!
I purchased it as soon as I saw your blog post.
#2
02/02/2009 (10:16 am)
Great work Lorne. Will purchase this as my next item on the list of things to complete.