setToneMappingParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)?\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 7: Line 6:


|gr1= System |GROUP1=
|gr1= System |GROUP1=
____________________________________________________________________________________________


| 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.}}|DESCRIPTION=
____________________________________________________________________________________________


| toneName '''setToneMappingParams''' params |SYNTAX=
| toneName '''setToneMappingParams''' params |SYNTAX=
Line 26: Line 23:
|x2= <code>"Reinhard" setToneMappingParams [0.9, -0.003]</code>|EXAMPLE2=  
|x2= <code>"Reinhard" setToneMappingParams [0.9, -0.003]</code>|EXAMPLE2=  


____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:30, 17 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

Notes

Bottom Section