Difference between revisions of "ShaderNoise (CMS)"
From The Official Visionaire Studio: Adventure Game Engine Wiki
m |
m (Text replacement - "{{toc}}" to "") |
||
Line 43: | Line 43: | ||
| [[media:shaderNoise.zip|shaderNoise.zip]] || A working .ved file, complete with resources. Check out the readme.txt file for instructions. | | [[media:shaderNoise.zip|shaderNoise.zip]] || A working .ved file, complete with resources. Check out the readme.txt file for instructions. | ||
|} | |} | ||
− |
Revision as of 00:53, 4 November 2014
Name | Type |
---|---|
shaderNoise(value, delay) | Execution |
Allows the user to adjust the screen noise value over a specified amount of time. The shader toolkit is required for this function to work.
Examples
Enable
Adjust screen noise value
shaderNoise(0.1, 3000) -- adjust screen noise over 3000 milliseconds
shaderNoise(0.1, 0) -- adjust screen noise instantly
Disable
Restore default screen noise value
shaderNoise(0, 3000) -- remove screen noise over 3000 milliseconds
shaderNoise(0, 0) -- restore screen noise instantly
Syntax Breakdown
Name | Type | Description |
---|---|---|
value | float (decimal) | Define the noise value; number between -1 & 1 (0 = default). |
delay | integer (number) | The amount of time to adjust the screen noise value over; in milliseconds (ms). |
Resources
Name | Description |
---|---|
shaderNoise.zip | A working .ved file, complete with resources. Check out the readme.txt file for instructions. |