Sets Render Target's visual effect (Picture-in-Picture).
- name :
String - Render surface reference from Render To Texture
- effect :
Number - effect type
- optionalParam1: Parameters based on selected effect
Available effects:
- 0: Normal - [0]
- 1: Night Vision - [1]
- 2: Thermal - [2]
- 3: Color Correction - [3, enabled, brightness, contrast, offset, blend [r,g,b,a], lerp [r,g,b,a], rgb [r,g,b,a]]
- 4: Mirror - [4]
- 5: Chromatic Aberration - [5, enabled, powerx, powery, (bool) aspectCorrection]
- 6: Film Grain - [6, enabled, intensity, sharpness, grainsize, intensityx1, intensityx2, (bool) monochromatic]
- 7: Thermal Inverted [7]