Env tonemap controller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
==Entity Description==
An entity that controls the [[HDR]] tonemapping for the player. Think of it as a method of controlling the exposure of the player's eyes.
An entity that controls the [[HDR]] tonemapping for the player. Think of it as a method of controlling the exposure of the player's eyes.


Line 13: Line 14:
==Outputs==
==Outputs==
*{{o targetname}}
*{{o targetname}}
[[Category:Entities]]

Revision as of 05:45, 28 September 2005

Entity Description

An entity that controls the HDR tonemapping for the player. Think of it as a method of controlling the exposure of the player's eyes.

Keyvalues

Inputs

Set the player's tonemap scale. It should be a value between 0 and 2, where 0 is the eyes fully closed, 1 is use the unchanged autoexposure (default), and 2 is the eye fully wide open.
  • BlendTonemapScale <string>
Blend from the player's current tonemap scale to a new one. The parameter syntax is as follows: <target tonemap scale> <blend duration>. For example: 0.5 10 would blend from the current tonemap scale to 0.5 over a period of 10 seconds. Tonemap scale is a value between 0 and 2, where 0 is the eyes fully closed, 1 is use the unchanged autoexposure (default), and 2 is the eye fully wide open.

Outputs