setToneMapping: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *r([0-9])= *Nothing * " to "|r$1= Nothing ")
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2oa
|game1= arma2oa
|version1= 1.62


|1.62
|game2= tkoh
|version2= 1.00


|gr1= System
|gr1= System


| Applies a specific tone mapping to the game.<br><br>
|eff= local


{{Feature|arma3|This command is not present in Arma 3.}}
|descr= Applies a specific tone mapping to the game. The tone mapping can be edited with [[setToneMappingParams]].
{{Feature|arma3|This command is not present in {{arma3}}.}}


| '''setToneMapping''' toneName
|s1= [[setToneMapping]] toneName


|p1= toneName: [[String]] - where string is effect name - defaults are ''Arma'', ''Filmic'' and ''Reinhard''. They can be edited with [[setToneMappingParams]] command
|p1= toneName: [[String]] - can be one of:
* "Arma"
* "Filmic"
* "Reinhard"


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>setToneMapping "Filmic"</code>
|x1= <sqf>setToneMapping "Filmic";</sqf>


|seealso= [[setToneMappingParams]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]]
|seealso= [[setToneMappingParams]] [[ppEffectAdjust]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectCreate]] [[ppEffectDestroy]] [[Post Process Effects]]
}}
}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}

Latest revision as of 23:24, 12 July 2022

Hover & click on the images for description

Description

Description:
Applies a specific tone mapping to the game. The tone mapping can be edited with setToneMappingParams.
Arma 3
This command is not present in Arma 3.
Groups:
System

Syntax

Syntax:
setToneMapping toneName
Parameters:
toneName: String - can be one of:
  • "Arma"
  • "Filmic"
  • "Reinhard"
Return Value:
Nothing

Examples

Example 1:
setToneMapping "Filmic";

Additional Information

See also:
setToneMappingParams ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy Post Process Effects

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note