setToneMappingParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
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...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2oa |Game name=
| arma2oa


|1.62|Game version=
|1.62


|gr1= System |GROUP1=
|gr1= System


| Edits tone mapping parameters.<br><br>
| Edits tone mapping parameters.<br><br>


{{Feature|arma3|This command is not present in Arma 3.}}|DESCRIPTION=
{{Feature|arma3|This command is not present in Arma 3.}}


| toneName '''setToneMappingParams''' params |SYNTAX=
| toneName '''setToneMappingParams''' params


|p1= toneName: [[String]] - where string is effect name - defaults are ''Arma'', ''Filmic'' and ''Reinhard''. |PARAMETER1=
|p1= toneName: [[String]] - where string is effect name - defaults are ''Arma'', ''Filmic'' and ''Reinhard''.


|p2= params: [[Array]] - (''please populate'') |PARAMETER2=
|p2= params: [[Array]] - (''please populate'')


| Nothing |RETURNVALUE=
| Nothing




|x1= <code>"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4]</code>|EXAMPLE1=
|x1= <code>"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4]</code>
|x2= <code>"Reinhard" setToneMappingParams [0.9, -0.003]</code>|EXAMPLE2=
|x2= <code>"Reinhard" setToneMappingParams [0.9, -0.003]</code>




| [[setToneMapping]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]] |SEEALSO=
| [[setToneMapping]], [[ppEffectAdjust]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectCreate]], [[ppEffectDestroy]], [[Post process effects]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:09, 18 January 2021

Hover & click on the images for description

Description

Description:
Edits tone mapping parameters.

Arma 3
This command is not present in Arma 3.
Groups:
System

Syntax

Syntax:
toneName setToneMappingParams params
Parameters:
toneName: String - where string is effect name - defaults are Arma, Filmic and Reinhard.
params: Array - (please populate)
Return Value:
Nothing

Examples

Example 1:
"Filmic" setToneMappingParams [0.2, 0.30, 0.20, 0.30, 0.01, 3.750, 6, 4]
Example 2:
"Reinhard" setToneMappingParams [0.9, -0.003]

Additional Information

See also:
setToneMappingppEffectAdjustppEffectCommitppEffectCommittedppEffectCreateppEffectDestroyPost 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