Last updated: 02/11/2019
msEdgeBlending blurs or sharpens the outer edges of the model to blend it into the environment.
1. Load msEdgeBlending.x into the accessories box of MMD.
2. Load msEdgeBlendingController.pmx into the models box of MMD.
3. Open the MMEffect window and move to the msEB_MaskRT tab.
4. Apply Mask_Model_1.fx to the model or accessory that you wish to blur/sharpen.
5. Adjust the effect with the msEdgeBlendingController model’s facial expressions sliders.
Controller Morph Translations
Blur/Sharp: Dictates whether the effect is a blur or sharpen. The closer it is to 0, the more blurred. The closer it is to 1.0, the more sharp. Setting it at 0.5 will negate the effect.
シャープ強度+: Dictates the strength of the sharpen effect when Blur/Sharp is set to 0.6 or higher. The closer this value is to 1.0, the sharper the effect becomes.
エッジ細く: Reduces the range of the effect.
調整用: Produces various visual displays to assist with effect adjustment.
Editing the Code Parameters
-Line 14: #define SAMP_NUM: Changing the number changes the amount of blurring. The larger the size, the thicker the edge blend.
-Line 19: #define ScreenScale: Changing the number changes the ratio of the editing screen compared to the output resolution. Using this parameter means that you will see how the effect will look once rendered in engine, as often effects look different when rendered than how they did in MMD.
-Mashimashi recommends using the various .fx subsets for different parts:
Mask_Model_0.fx is recommended for backgrounds and stages.
Mask_Model_1.fx is recommended for the main model.
Mask_Model_2.fx is recommended for the eye whites and eyelashes on the main model.
Mask_Model_3.fx is recommended for the eyes and highlights of the main model.
Mask_Model_4.fx is recommended for a secondary model.
-In addition, Mask_Model_2.fx can be applied to the eye whites and eyelashes on the secondary model, and will retain separate settings from the main model.
-The range of the effect is not affected by camera distance. Therefore, Mashimashi recommends manually adjusting the effect range in accordance with the camera.
mashimashi, blur, post