|
DoopelPonger
|
Works with the shader to distort a small area on the screen. More...


Public Member Functions | |
| void | Awake () |
| Initialize references needed by the ripple. More... | |
| void | Init () |
| Initialize values used by the ripple. More... | |
| void | FixedUpdate () |
| Update the values in the shader. More... | |
Public Attributes | |
| MeshRenderer | meshRenderer |
| float | maxAmplitude |
| float | timeToDissipate |
| float | timeMultiplier |
| float | frequencyMultiplier |
Works with the shader to distort a small area on the screen.
| void SmallRipple.Awake | ( | ) |
Initialize references needed by the ripple.
| void SmallRipple.FixedUpdate | ( | ) |
Update the values in the shader.
| void SmallRipple.Init | ( | ) |
Initialize values used by the ripple.
| float SmallRipple.frequencyMultiplier |
How much stretch should exist in the distortion effect.
| float SmallRipple.maxAmplitude |
The max amplitude when stretching the screen.
| MeshRenderer SmallRipple.meshRenderer |
The shader that distorts the screen.
| float SmallRipple.timeMultiplier |
How fast the effect should process through time.
| float SmallRipple.timeToDissipate |
The amount of time the ripple should stay on the screen.
1.8.14