From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Sets Render Target's visual effect (Picture-in-Picture).
Mode
|
Description
|
Parameters
|
0
|
Normal
|
[0]
|
1
|
Night Vision
|
[1]
|
2
|
Thermal Imaging
|
[2]
|
3
|
Color Correction
|
[3, enabled, brightness, contrast, offset, blend [r,g,b,a], lerp [r,g,b,a], rgb [r,g,b,a]]
|
7
|
Alt. Thermal Imaging 1 (Inverted)
|
[7]
|
8
|
Alt. Thermal Imaging 2 (Green)
|
[8]
|
9..70
|
2.10 Alt. Thermal Imaging 3..64
|
[n]
|
- Groups:
- Camera Control
Syntax
- Syntax:
- name setPiPEffect [effect, optionalParam1, optionalParam2, ...]
- Parameters:
- name : String - render surface reference from Render To Texture
- effect : Number - effect type
- optionalParamN: Number - (Optional) parameters based on selected effect
- Return Value:
- Nothing
Examples
- Example 1:
Copy"rendersurface" setPiPEffect [0];
- Example 2:
Copy"rendertarget0" setPiPEffect [3, 1, 1.0, 1.0, 0.0, [0.0, 1.0, 0.0, 0.25], [1.0, 0.0, 1.0, 1.0], [0.199, 0.587, 0.114, 0.0]];
- Example 3:
- Example 4:
- Black & White:
Copy"rtt" setPiPEffect [3, 1, 1.0, 0.4, 0, [0,0,0,0], [1,1,1,0], [1,1,1,1]];
Additional Information
- See also:
- Procedural Textures camCreate cameraEffect 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
- Killzone_Kid - c
- Posted on Jul 09, 2017 - 20:04 (UTC)
-
If Color Corrections effect has been used, going back to Normal will have no effect. In order to unset Color Corrections, set the 2nd param in it (enable) to 0.