Editing Effect Textures Creates Brand New Effects!

Can editing effect textures change the look of my MME effects? What is an effect modder? How do MMDers make effects? Is it difficult to learn?

An image of the finished effect product, after editing effect textures

A feature article by LearnMMD's ChestnutscoopEditing effect textures allows you to make brand new effects, and it’s super easy to do! However unfortunately, even back when I started MMD in 2012, I’ve come to the conclusion that there are hardly Western effect producers. Most people who I speak to about this often say that they find effect editing intimidating, and while it is very different to modelling and requires some knowledge of how code works, I’d hate these factors getting in the way of anyone making the next best effect! So, by request of many, I have decided to write a series of tutorials on how I create my effects. I hope these tutorials can open up avenues to new effect producers, and make the subculture a little more populated!

Editing Effect Textures Creates Brand New Effects!

In this tutorial I will be showing you how I made my latest set of effects, ‘4colorG_LGBTQ+’. This effect required texture editing only, and it is a great place to start for mod beginners! For this tutorial you will need:

-A version of MikuMikudance that supports MikuMikuEffect. At this point, you should be using the latest version of MMD we currently have, which you can download from our MMD downloads page here: https://learnmmd.com/downloads/

-A photo-editing software, such as Photoshop or GIMP

-A code-editing software such as Notepad, Dev-C++ or Visual Studio Code (not necessarily needed)

picking out the effect texture from the effect files by examining the image on the texture

Whenever I get an idea for an effect mod, I first have to know exactly how the original effect works. In the case of 4color, I know that it is a post effect, which means that it acts like a filter that you would find on Instagram or Photoshop. Post-effects that use textures are a fantastic place to start because they require very little to no code editing. A texture is what artists call the image that provides a surface on an asset, like a skin. For models, a texture might be a fabric on a jumper, or an eye design. When editing effect textures, you must identify the image which looks exactly like the effect does in engine.

4color contains 3 coloured effects, ‘4color’, ‘4colorpmd’ and ‘post4color’. All are variations of the same basic idea, and all use one single texture to render the effect. We can identify the texture file by opening the effect in MMD, examining what the effect looks like, and then finding the image file in the effect folder that is the same as in MMD. Now we know how the effect works, I am now going to open the texture file, ‘4c.png’ in Photoshop. You can open this texture in any photo editing software though!

how to create a gradient in photoshop

Now, I know I want this effect to be the LGBT flag, but a gradient so that the colours flow into each other. I do this by going to the Gradient Tool and going to Edit Gradient. I then recreate the LGBT pride flag and apply it to the canvas.

how to save an edited effect texture

The texture will look exactly the same in MMD as it does in the photo editor, so as soon as I’m happy with how it looks, I save it as a .png as “4c”. When the program asks me if I want to overwrite the file that came with 4color, I click yes. This action will replace the original texture with a new one.

how to add the edited effect texture in the code of the .fx file

If you really wanted to, you could save your image as whatever format and whatever name, but you would need to go through the .fx code and change the texture directory. This is so the .fx file can find what image it’s supposed to reproduce in the engine. If the texture file has a different name or format to the original without editing the code, it will give you an error. For 4color, open Post4color.fx using any code editor and replace line 9’s “#define TexFile “4c.png”” with “#define TexFile “[insert texture name.insert format]””. If this part confuses you, don’t worry! My next tutorial will be on editing the code to mod effects!

You can then test to see whether the texture has worked for the effect by simply loading the effect into MMD. If all goes to plan, you can then change up your renders to look something like this…

a comparison between an uneffected image and an effected image

And there you go! You have successfully edited an effect texture to make something completely new! You can do this with any effect that uses a texture, such as KiraKira, butterfly and Line. Explore your effects folder and see what you can modify!

This particular effect production is called modding, which means modification, as you are taking a readily made effect and changing it to do something else. Did you know that BeammanP’s KiraKira is a mod of sovoro’s TexSnowLite? You can also call yourself an effect producer if you mod your own effects, but I prefer the term “effect modder” personally (⌒▽⌒)ゞ

 

Credits

4colorG_LGBTQ+ can be downloaded from my DeviantART page here: http://fav.me/de5js0p, which contains 14 4color mods, all inspired by the LGBTQ+ flags. It also contains the full credits for the preview image ^^

 

Have fun with MikuMikuDance!


– SEE BELOW for MORE MMD TUTORIALS…




Visit the LearnMMD.com Homepage! Plenty of Mikumikudance instruction and info!