Env tonemap controller ghost: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎See also: Unicodifying, replaced: See Also → See also)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{LanguageBar}}
__NOTOC__
__NOTOC__
{{CD|CEnvTonemapController}}
{{CD|CEnvTonemapController}}
{{this is a|name=env_tonemap_controller_ghost|series=Left 4 Dead|e0|sprite=env_tonemap_controller.png}}
{{this is a|logical entity|name=env_tonemap_controller_ghost|series=Left 4 Dead|sprite=env_tonemap_controller.png}}


An entity that controls the [[HDR]] tonemapping for ghost player. Think of it as a method of controlling the exposure of the player's eyes.
An entity that controls the [[HDR]] tonemapping for ghost player.
{{clr}}
<onlyinclude>
==Keyvalues==
{{KV Targetname}}


==Flags==
{{fl|1|Master (Has priority if multiple env_tonemap_controller_ghost(s) exist)}}


== Inputs ==
 
{{IO|SetTonemapScale|param=float|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.}}
{{OtherKIO|env_tonemap_controller|Other functionality and all}}
{{IO|BlendTonemapScale|param=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.}}
{{IO|UseDefaultAutoExposure|Revert to using the default tonemap auto exposure.}}
{{IO|SetAutoExposureMin|param=float|Set a custom tonemap auto exposure minimum.}}
{{IO|SetAutoExposureMax|param=float|Set a custom tonemap auto exposure maximum.}}
{{IO|SetBloomScale|param=float|Set a custom bloom scale.}}
{{IO|SetTonemapRate|param=float|Set the rate for autoexposure adjustment.}}
{{IO|SetBloomExponent|param=float|Set a custom bloom exponent.}}
{{IO|SetBloomSaturation|param=float|Set a custom bloom saturation.}}
{{IO|SetTonemapPercentBrightPixels|param=float|Set a target for percentage of pixels above a certain brightness. (default: 1)}}
{{IO|SetTonemapPercentTarget|param=float|Set a custom brightness target for SetTonemapPercentBrightPixels. (default: 45)}}
{{IO|SetTonemapMinAvgLum|param=float|Sets custom tonemapping param (ask Alex for details; default: 3).}}


== See also ==
== See also ==
* [[env_tonemap_controller]]</onlyinclude>
* {{ent|env_tonemap_controller_infected}}
* [[env_tonemap_controller_infected]]
* {{ent|env_tonemap_controller}}

Latest revision as of 04:31, 29 April 2025

English (en)Translate (Translate)
C++ Class hierarchy
CEnvTonemapController
CPointEntity
CBaseEntity
Env tonemap controller.png

env_tonemap_controller_ghost is a logical entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series.

An entity that controls the HDR tonemapping for ghost player.


Note.pngNote:Other functionality and all Keyvalues / Inputs / Outputs are same as env_tonemap_controller.

See also