System/SetPostProcessFxParam

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article


This is a System function

Contents

Overview

Function

SetPostProcessFxParam(name, value)
name - name of the parameter
value - new value of the parameter

Parameters

MotionBlur_Active
true to enable, false to disable, defaults to false
MotionBlur_Type
integer, defaults to 0
MotionBlur_Quality
integer, defaults to 1, 0=low, 1=medium, 2=high, 3= ultra-high, 4= crazy high...
MotionBlur_Amount
float - defaults to 0.0
MotionBlur_UseMask
boolean - defaults to false
MotionBlur_MaskTexName
string, a texture name, defaults to nil
MotionBlur_CameraSphereScale
float, defaults to 2 meters
MotionBlur_ExposureTime
float, defaults to 0.004 seconds
MotionBlur_VectorScale
float, defaults to 1.5
MotionBlur_ChromaShift
float, defaults to 0.0
Dof_Active
boolean, true to enable, false to disable, defaults to false
Dof_FocusDistance
float, defaults to 3.5
Dof_FocusRange
float, defaults to 0.0
Dof_FocusMin
float, defaults to 2.0
Dof_FocusMax
float, defaults to 10.0
Dof_FocusLimit
float, defaults to 100.0
Dof_FocusMasCoC
float, defaults to 12.0
Dof_BlurAmount
float, defaults to 1.0
Dof_UseMask
boolean, defaults to false
Dof_MaskTexName
string, a texture name
Dof_Debug
boolean, defaults to false
Dof_User_Active
boolean, defaults to false
Dof_User_FocusDistance
float, defaults to 3.5
Dof_User_FocusRange
float, defaults to 5.0
Dof_User_BlurAmount
float, defaults to 1.0
Dof_Tod_FocusRange
float, defaults to 1.000
Dof_Tod_BlurAmount
float, defaults to 0.0
EdgeAA_Active
boolean, defaults to true
PerspectiveWarp_Active
boolean, defaults to false
Glittering_Active
boolean, defaults to false
ColorCorrection_Active
boolean, defaults to false
Glow_Active
boolean, defaults to false
Glow_Scale
float, defaults to 0.5
SunShafts_Active
float, defaults to false
SunShafts_Type
integer, 0 is highest quality, defaults to 0
SunShafts_Amount
float, shafts visibility, defaults to 0.25
SunShafts_RaysAmount
float, rays visibility, defaults to 0.25
SunShafts_RaysAttenuation
float, rays attenuation, defaults to 5.0
FilterSharpening_Type
integer, defaults to 0
FilterSharpening_Amount
floats, defaults to 1.0
FilterBlurring_Type
integer, defaults to 0
FilterBlurring_Amount
floats, defaults to 1.0
FilterRadialBlurring_Amount
floats, defaults to 0.0
FilterRadialBlurring_ScreenPosX
floats, defaults to 0.5
FilterRadialBlurring_ScreenPosY
floats, defaults to 0.5
FilterRadialBlurring_Radius
floats, defaults to 1.0
FilterMaskedBlurring_Amount
floats, defaults to 0.0
FilterMaskedBlurring_MaskTexName
string, texture name
FillrateProfile_Active
boolean, defaults to true
Global_Brightness
float, defaults to 1.0
Global_Contrast
float, defaults to 1.0
Global_Saturation
float, defaults to 1.0
Global_ColorC
float, defaults to 0.0
Global_ColorY
float, defaults to 0.0
Global_ColorM
float, defaults to 0.0
Global_ColorK
float, defaults to 0.0
Global_ColorHue
float, defaults to 0.0
Global_User_Brightness
float, defaults to 0.0
Global_User_Contrast
float, defaults to 0.0
Global_User_Saturation
float, defaults to 0.0
Global_User_ColorC
float, defaults to 0.0
Global_User_ColorY
float, defaults to 0.0
Global_User_ColorM
float, defaults to 0.0
Global_User_ColorK
float, defaults to 0.0
Global_User_ColorHue
float, defaults to 0.0
Global_DirectionalBlur_Vec
vector (4-element?)

Usage

See also GetPostProcessFxParam

Examples

  • The Golf and Bowling minigames adjust brightness while a tutorial plays:
System.SetPostProcessFxParam("Global_User_Brightness", -0.2);
and return to the default brightness when the tutorial is finished:
System.SetPostProcessFxParam("Global_User_Brightness", 1.0);


  • Game/Scripts/Entities/actor/player.lua uses motion blur and screen frost effects
Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools