MaskFade
Harigane- Transition
MMM Compatible
Last updated: 03/07/2013
MaskFade performs various fade-in and fade-out transition effects using image masks.

Click the image above to see it in full
Download
Tutorial
1. Go to either 'accessory manipulation' or 'model manipulation' and click 'load'.
2. Select 'MaskFade.x' or 'MaskFadePmd.pmd' and click 'OK'.
Accessory Parameter Values
-X, Y: Adjusts the direction of the scrolling mask image.
-Z: Adjusts the zoom level of the mask image. A positive number increases the zoom level, whereas a negative number decreases the zoom level.
-Rx, Ry, and Rz: Adjusts the RBG value of the mask, within a range of 0~1.
-Si: Adjusts the blur/sharpness of the fade transition.
-Tr: Adjusts the progression of the fade transition.
Editing the Code Parameters
-Line 8: #define UseTex: Determines what type of mask is applied for the transition. Setting this to 0 creates a solid color mask; 1 creates a mask from a still image; 2 creates a mask from a .gif or .apng file; 3 creates a mask from MMD's built-in screen.bmp.
-Line 9: #define TexFile: Determines what file to reference when creating a mask using a still image or animated file.
-Line 10: #define AnimeStart: Determines the starting time, in seconds, when creating a mask using an animated file.
-Line 11: #define MaskFile: Determines what file to reference for the transition fades.
-Line 13: float TexWidthSize: Determines the width of the mask image, represented as a ratio. Setting this value to 1.0 means the image will be displayed at its true width, without being stretched or compressed.
-Line 14: float TexHeightSize: Determines the height of the mask image, represented as a ratio. Setting this value to 1.0 means the image will be displayed at its true height, without being stretched or compressed.
Tips
-MaskFade is a modification of Dance InterventionP's Laughing Man effect.
-MaskFade was created using the KiriKiri visual novel framework as reference.
-Sometimes a model's edgelines will not be masked over. HariganeP recommends using an effect such as EdgeControl to manually hide the edgelines.
-The .x accessory and .pmd file are both the same effect. The .pmd variation is unable to support screen.bmp masks, but otherwise remains the same as the accessory.