ShaderGlow (CMS)

From The Official Visionaire Studio: Adventure Game Engine Wiki
Name Type
shaderGlow(radius, strength, delay) Execution

Allows the user to apply a glow effect to the scene over a specified amount of time. The shader toolkit is required for this function to work.



Adjust screen glow value

shaderGlow(1, 1, 3000) -- adjust screen glow over 3000 milliseconds
shaderGlow(1, 1, 0) -- apply screen glow instantly


Restore default glow value

shaderGlow(0, 0, 3000) -- restore screen glow back to default over 3000 milliseconds
shaderGlow(0, 0, 0) -- restore screen glow back to default instantly

Syntax Breakdown

Name Type Description
radius float (decimal) Define the radius value (area affected); number between 0 & 1 (0 = default).
strength float (decimal) Define the strength value (strength of glow); number between 0 & 1 (0 = default).
delay integer (number) The amount of time to adjust the screen glow value over; in milliseconds (ms).


Name Description A working .ved file, complete with resources. Check out the readme.txt file for instructions.