Skip to content
Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software

Download Free Animation Software – Let's Learn How to Do Everything!

  • Step-by-Step MMD instructions
  • DOWNLOADS
  • Troubleshoot, Fix MMD
  • Site Contents
  • Reggie Replies Q&A
  • Homework!
  • What IS MMD?
    • Download MikuMikuDance Newest Latest Version of MMD
  • “HOW TO”
    • Raycast RAY-MMD Effect Tutorials
  • BONUS PAGES
    • Why convert PMD models to PMX?
  • HALL of CHAMPIONS
  • Tutorial Categories
  • About
    • Privacy Policy
  • Toggle search form
  • Haku and Fireworks 02
    Add Background Pictures and AVI’s to MikuMikudance MMD Add Background Pictures and AVI
  • Convert .PMD Stages to .X Format using PMDE for MMD Accessory Manipulation/Adjust
  • Video Dojo Expo 2 Champion: Turquoise Narcotic Video Dojo Champions
  • MME PowerShader effect rivals Ray-MMD Raycast image enhancements MMD Tutorials
  • LearnMMD.com: The MMD Instructions you have been looking for! MMD Basics
  • Kaito Sees Rotating Stars Thanks to the Accessory Manipulation Panel.
    More on Accessory Manipulation in MikuMikuDance Accessory Manipulation/Adjust
  • My latest Halloween video is a Scream! "the making of" my video
  • MMD animation from Scratch “The Wind-up and the Pitch!” "the making of" my video

Subtex slot for MMD models in PMXE

Posted on July 23, 2018December 17, 2018 By bandages 4 Comments on Subtex slot for MMD models in PMXE

What is subtexture?  What is subtex?  How do I use subtex for MMD models?  How do I use addUV with MMD models?  What can I do with subtexture?

 

What the hecks is subtex?

Subtex is good for lots!

If you’ve played around with making MMD models, maybe you’ve noticed that you have three choices for sphere textures. Add spheres (.spa for Sphere Add) are great for making environment maps. Mult spheres (.spm for Sphere Multiply) are good for iridescence effects. But what is subtexture, and what is it good for? Just playing around with models won’t tell you much, because to be useful, subtexture relies on a infrequently used feature of MMD models.

At its most basic, subtexture is just an extra texture that gets accessed using UV coordinates and multiplied into your base texture.  (To contrast with a multiply sphere, which doesn’t use UV coordinates at all.)  You could do that in an image editing program like GIMP and save your sphere slot for something else, right? Sure. But if you have AddUV defined for your model, subtexture will use that different UV. That’s where subtexture starts to get useful.

In fact, subtexture’s interaction with UV is so important that if you’re not comfortable with UV mapping and how it works, you’re probably not going to get anything out of the use of subtexture.  If you need to review UV mapping, check out UV Unwrapping MMD Models in Blender and/or Everything You Never Wanted to Know about Textures.

Unethical uses of the subtex slot

Detail texture is subtexture

No matter how much memory your video card has, there always comes a point when you have zoomed in too far and your pixels start to look blurry. One technique to get around this is to use tiling textures. By repeating the same texture in multiple places, you can get more texture resolution than if you made a new image for every part of your model.

But what if you have some elements that repeat, but some elements that don’t? Or elements that tile in different ways? That’s what detail textures are for. They combine two different textures, one usually at a much higher scale than the other.

subtexture for detail textures
Here I’m using one UV map– my base UV map– to write the letters, which are tiled in one way, but I’m using my subtexture UV map, which is highly scaled, to add close detail to those letters.  If you want, you can download this chalkboard model to get a closer look at the textures and UV coordinates used.

Light maps are subtextures

Light maps are really just a kind of detail texture, but they’re common enough that they’re worth mentioning. In games going back twenty years or more, artists have combined high resolution, tiling texture images with lower resolution, non-tiling images representing lighting information in order to create convincing game levels.

Teto after hours

Here, this tunnel is getting tiling panel textures, but it’s being lit by a light map I baked from Blender onto add UV.  It might help if you compare the two textures being used and the UV maps using them:

 

Lightmaps and Lightmap UV

On the left, my wall texture is being tiled over many faces with overlapping UV.  But there’s no tiling on the lightmap UV on the right.  MMD combines the textures it reads from two different places, multiplying them in order to tile the wall but leave the lightmap untiled.

You can do this with a subtexture slot. Just remember that MMD’s single sun light will get affected by your lightmap too, which isn’t really appropriate. To disable MMD’s lighting, give your lightmapped material a 1.0 white ambient and a 0.0 black diffuse and specular.

PMXE no lighting

A note about MME

There is a long-standing bug in MME where MME doesn’t actually know whether to use add blending or multiply blending for subtexture– and so it uses whatever it used last for a sphere map! That means that if you use subtexture, you need to be careful to reset your sphere mode to multiply on the material immediately preceding the material with the subtexture. You could just use a throwaway plane to do this if you need to.  Notice how I made an extra material for my tunnel model above, set up to render before any of the other materials (but with its vertices well out of sight!)

Potentially, you could use this to create an add-blend subtexture, but it would only work for people using MME.  Subtexture is rarely enough used that many effects don’t bother supporting it.

UV Morphs with subtextures

One of the coolest things about subtexture is the potential for unusual UV morphs. Use of subtexture means you can morph two different textures in two different ways. You can use this to create transparency sliders that respect your original textures.

Idea rejected.

Because subtexture works by multiplying textures, and multiplication is commutative, it really doesn’t matter which is your main texture and which is your subtexture. So you can just exchange your texture with your subtexture and your UV with your AddUV to use a regular UV morph. But you can also create morphs that specifically target your AddUV. Make a morph as normal, then select AddUV2 from the drop-down and hit the >> button to Make It So. You could even combine an AddUV morph with an AddUV morph in a Group morph to get more complicated effects.AddUV for PMXE UV morphs

If Teto thinks her skirt is short enough already, we can use a UV1 morph with subtexture to slide our writing across a simple opaque-to-transparent texture, without sliding the actual letters.  Won’t Teto be excited!

Subtexture UV transparency morph

How do I get AddUV for my subtexture?

All of that is fine and well, but how do you get AddUV coordinates on your PMX model?

It’s possible in PMXE alone. Start by adding an AddUV channel to your model by selecting the number of add UV channels (at least 1 if you want to use subtexture) on the info tab.

Adding UV to PMX models with PMXE

Then you need to actually put some add UV coordinates on your vertices. You could enter those manually on the vertex tab, if you don’t have a lot of them. You can also copy from one UV map to another using edit->vertex->copy UV from the 3D window. And once you have some UV coordinates and morphs for them, you can write them using the transform window.

Copying add UV in PMXE

MMD Tools for Blender also supports add UV now, so you can also just create multiple UV maps in Blender. They’ll be exported to your PMX model in the order you create them.

AddUV for MMD in Blender

 

Self-promotion

 

Keep the Faith and credit your sources!  But if you can’t do that, share your models with the world!  You can download my Teto model if you want!


– SEE BELOW for MORE MMD TUTORIALS…


— — —


– _ — –


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

 

More MMD Tutorials...

Create/Export .x files in Blender 3 using PMXE (Blender 2.8+)

There's no .x export in Blender 2.8/2.9/3.0... you cannot directly Export .x files in Blender ...read more

Create MMD model color morphs using PMXE

How can I add my own color-changing morphs to an MMD model? How do I ...read more

ALMorphMaker Adds AutoLuminous Morphs to your Model!

What is the ALMorphMaker plugin? How can I put AutoLuminous morphs on a model? How can ...read more

Keep the Center-Bone when adding Mother-Bone to an older model

I added a mother bone to my model but where did the Center bone go? ...read more

PMXEditor PMXInfo Analyzing Optimizing MMD Models

Have you ever downloaded or made your own model and opened it up, only to ...read more

Convert VRoid Studio to MMD With One Click

How can I convert VRoid Studio models to PMX models? Where do I go to ...read more

Bandages, Blender, Making Models, PMDE/PMXE tutorials, PMX Editor Tags:addUV, blender, PMX Editor, subtexture, texture

Post navigation

Previous Post: Analyzing Why some VSQ files make MMD Crash
Next Post: Learn to Edit MMD Effects by Editing Raycast Materials

Related Posts

  • Import Daz models with Bones using Blender, Noesis, Xnalara Blender
  • PMDE Q&A – Making clothes follow model motions Fixing Broken Models
  • Close Up of Sph File with Text
    Create Sph Files in Blender Without Drawing Anything! Blender
  • Add Facial Slider Options Using PMDE Enhance your MMD Models Modify Facial Sliders
  • No Diamonds Appear in Frame Chart in MMD and How to Fix It Mae Blythe
  • Re-size PMD Models and Keep the Bones and Physics! Adjust PMD Model Size

More Related Articles

Easily Make Realistic Hair Texture for MMD Models Mae Blythe
Use PMXEditor INFOfile to optimize MMD models PMXEditor PMXInfo Analyzing Optimizing MMD Models Fixing Broken Models
Learn to Edit MMD Effects by Editing Raycast Materials Bandages
Add a Motherbone for Easy Model Manipulation in MMD 7.39 Mother Bones
MMD Model Hair Textures Made With . . . IMVU Tutorials?! Mae Blythe
.spa VS .sph sphere texture file types in PMDE / MikuMikuDance MMD. PMD Editor Basics: .SPH and .SPA Files Add Sparkle! PMDE/PMXE tutorials

Comments (4) on “Subtex slot for MMD models in PMXE”

  1. Grey says:
    April 21, 2023 at 2:47 am

    Is it possible to use the UV Editor plugin to view multiple UV maps in PMXE?

    Reply
    1. Reggie_Dentmore says:
      April 21, 2023 at 9:31 am

      I am sorry… I have no idea. I hope another reader can chime-in with an answer…

      Reply
  2. Senshi Sun says:
    July 23, 2018 at 7:03 pm

    I didn’t even know subtexture existed! Thank you for this great tutorial. You appear to have accidentally said Teto instead of Miss April.

    Reply
    1. bandages says:
      July 23, 2018 at 11:34 pm

      Teto is Miss April! 0401, April Fool’s.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Download the latest version of MikuMikuDance!
See the MMD Step-by-Step instructions page!
Learn how to make your own MMD motions!
LearnMMD.com
  • How To Recolor MikuMikuDance Models Without PMDE! Keep the Faith-MMD Credits/Sharing
  • Squash and Stretch Ball
    The 12 Principles of Animation for MikuMikuDance. ARIZONA
  • MMD Little Car Models offer racing fun!
    MMD Little Car Models Download offers racing thrills! Downloading New Models
  • Ghost Effect for MME
    How to Use the Ghost Effect for MME! ARIZONA
  • LearnMMD's NOKO2 has several MMD Comics on the LearnMMD Deviant Art Page!
    Have Fun Making MMD Comics using MS Paint Koneko the MMD Fairy
  • Keyboard Shortcuts to the Menus Functions-Copy-Paste-Expand
  • "Say cheese!" Setting up the camera moves in MMD 7.39 takes some thought. Credits: MMD Little Town by Harner Productions, Chibi Miku Yamato Style 1.35 by Koshitsuki, Chibi NC DT SeeU by HousekineMinto, Video Camera by Dark Konata
    Camera Motion Instructions 1 – MMD Basics ARIZONA
  • Using Subset-Extract to Customize Your Models. ARIZONA

Copyright © 2022 Learn MikuMikuDance – MMD Tutorials – Free 3D Animation Software and Instructions..

Powered by PressBook Premium theme

Go to mobile version