Game Development Community

3D weapon scopes

by Edward Smith · in Torque Game Engine Advanced · 08/17/2007 (7:10 pm) · 1 replies

I was wondering if anyone has an idea of the best way to implement a 3d scope, like it is in games such as Red Orchestra and Insurgency?

Basically for people who don't know, you have a 3d model of the weapon with a scope raised to eye level, and the magnification is just located within the area of where the scope lens is.

#1
08/17/2007 (9:25 pm)
Render the scene to a texture from the position of the end of the scope, adjusting the field of view for different zooms. Then rendering the end of the scope (mesh part?) with the texture rendered from the scope view position. Combine it with a nice shader with specular and environment mapping (fresnel would be best) and it should look rather nice.