top of page

Earthquake

Harigane- Post

MMM Compatible

Last updated: 11/07/2013

Earthquake makes the camera rapidly shake is if an earthquake was happening.

Earthquake

Click the image above to see it in full

Download

Tutorial

1. Go to 'accessory manipulation' and click 'load'.

2. Select 'Earthquake.x' and click 'Open'.



Accessory Parameter Values

-Z: Adjusts the frequency of the screen shakes.

-Si: Adjusts the horizontal and vertical amplitude of the screen shakes.

-Tr: Adjusts the blur strength.

Editing the Code Parameters

-Line 9: float AmplitudeX: Determines the amplitude of the horizontal shaking, represented as a ratio of the screen width.


-Line 10: float AmplitudeY: Determines the amplitude of the vertical shaking, represented as a ratio of the screen height.


-Line 20: #define MODE_BLUR: Determines whether a blur is applied during the screen shaking. Setting this to 0 means no blur, whereas setting it to 1 means there is a blur.


-Line 21: float BlurPowerMax: When MODE_BLUR is set to 1, determines the maximum blur strength. This variable is used in conjuncture with the Tr accessory parameter to adjust the effect's blur strength.


-Line 23: #define ScnScale: Determines the amount of zoom during the shaking. HariganeP recommends setting this value between 1.00~1.25.


-Line 25: #define BORDER_BRACK: Determines how the effect handles the edge of the render scene during screen shakes. Setting this to 0 will utilize the colors near the edges of the render scene, whereas setting it to 1 will fill it with black.

Tips

-This effect is a modification of Dance InterventionP's Gaussian.

bottom of page