Env tonemap controller: Difference between revisions
Jump to navigation
Jump to search
(additional inputs) |
m (→Inputs) |
||
Line 12: | Line 12: | ||
: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 (2x overbright). | :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 (2x overbright). | ||
*'''BlendTonemapScale''' | *'''BlendTonemapScale <string>''' | ||
:Blend from the player's current tonemap scale to a new one. The parameter syntax is as follows: <code><target tonemap scale> <blend duration></code>. For example: <code>0.5 10</code> 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. | :Blend from the player's current tonemap scale to a new one. The parameter syntax is as follows: <code><target tonemap scale> <blend duration></code>. For example: <code>0.5 10</code> 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. | ||
Line 18: | Line 18: | ||
:Revert to using the default tonemap auto exposure. | :Revert to using the default tonemap auto exposure. | ||
*'''SetAutoExposureMin''' | *'''SetAutoExposureMin <float>''' | ||
:Set a custom tonemap auto exposure minimum. | :Set a custom tonemap auto exposure minimum. | ||
*'''SetAutoExposureMax''' | *'''SetAutoExposureMax <float>''' | ||
:Set a custom tonemap auto exposure maximum. | :Set a custom tonemap auto exposure maximum. | ||
*'''SetBloomScale''' | *'''SetBloomScale <float>''' | ||
:Set a custom bloom scale. | :Set a custom bloom scale. | ||
*'''SetTonemapRate <float>''' | |||
: Set the rate for autoexposure adjustment. | |||
==Outputs== | ==Outputs== |
Revision as of 12:25, 5 August 2006
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
- SetTonemapScale
- 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 (2x overbright).
- 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.
- UseDefaultAutoExposure
- Revert to using the default tonemap auto exposure.
- SetAutoExposureMin <float>
- Set a custom tonemap auto exposure minimum.
- SetAutoExposureMax <float>
- Set a custom tonemap auto exposure maximum.
- SetBloomScale <float>
- Set a custom bloom scale.
- SetTonemapRate <float>
- Set the rate for autoexposure adjustment.