setToneMapping: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - "Post process effects" to "Post Process Effects")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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"


| Nothing
|r1= [[Nothing]]


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


|x1= <code>setToneMapping "Filmic"</code>
|seealso= [[setToneMappingParams]] [[ppEffectAdjust]] [[ppEffectCommit]] [[ppEffectCommitted]] [[ppEffectCreate]] [[ppEffectDestroy]] [[Post Process Effects]]
 
 
| [[setToneMappingParams]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]]
 
|
}}
}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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