Book Image

Source SDK Game Development Essentials

By : Brett Joseph Bernier
Book Image

Source SDK Game Development Essentials

By: Brett Joseph Bernier

Overview of this book

Table of Contents (18 chapters)
Source SDK Game Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding color correction


Games using the Source 2009 engine and newer have color correction capabilities. This allows you to adjust color, contrast, and shadow depth in real time in the game. This means no compiling in between tweaks! If you think your lighting looks pretty good, but there's something missing, then place a color_correction entity into your map so you can fine tune it in the game.

Like other triggerable entities, the color correction entity doesn't need a name unless you want to trigger it on or off. For now, set both of the falloff parameters to -1 so that the color correction spans the map, compiles your map, and loads it. Once you have your map loaded, walk into the radius of your color correction entity, and enter colorcorrectionui in the console to bring up the Color Correction tools.

Have a look at the preceding image. Clicking on New will give you a new color-balancing effect. Curves lets you set the RGB luminosity curves. Balance lets you balance the colors in the mids...