Custom camera effects: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Custom camera effects are only produceable with [[point_camera]].
It is possible to create custom camera effects by using <code>[[point_camera]]</code> or by adding a new [[HUD Elements|HUD element]].


==Broken lens effect==
== Point Camera ==
Custom camera effects are easily produceable with <code>[[point_camera]]</code>.


Take the ''invisible'' texture and make a block in front of the <code>point_camera</code>. Then using the [[Hammer Decal Tool|decal tool]], take the texture <code>decals/glass/shot1</code> and place it right in front of the point_camera entity. Through the monitor it will now look like the image was shot through the broken lens.
=== Broken lens effect ===
 
Take the ''invisible'' texture and make a block in front of the <code>point_camera</code>. Then using the [[Hammer Decal Tool|decal tool]], take the texture <code>decals/glass/shot1</code> and place it right in front of the <code>point_camera</code> entity. Through the monitor it will now look like the image was shot through the broken lens.
 
== HUD Modification ==
 
Another possible solution would be to add a new [[HUD Elements|HUD element]] which fits the whole screen. The [[Basic Hud Modification]] tutorial explains how to perform a similar addition.


[[Category:Camera]]
[[Category:Camera]]

Latest revision as of 01:58, 25 August 2008

It is possible to create custom camera effects by using point_camera or by adding a new HUD element.

Point Camera

Custom camera effects are easily produceable with point_camera.

Broken lens effect

Take the invisible texture and make a block in front of the point_camera. Then using the decal tool, take the texture decals/glass/shot1 and place it right in front of the point_camera entity. Through the monitor it will now look like the image was shot through the broken lens.

HUD Modification

Another possible solution would be to add a new HUD element which fits the whole screen. The Basic Hud Modification tutorial explains how to perform a similar addition.