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
  • VOCALOID 3 Tutorial – The whole interface on a basic level Kazuki Matsuoka
  • "Departures" meme for MMD is a beauty! Memes are like KITS for MMD!
    A Beginner’s Guide to Enjoying MikuMikuDance Intro to MikuMikuDance
  • Stationary Motion Creation rights and wrongs Creating Motions
  • LearnMMD Auditorium Stage now includes 19 Colors of Drapes! Dummy Bones
  • MME Plastic Effect Featured
    MME Plastic Effect adds plastic realism to MMD model parts MMD Tutorials
  • How to make a Portal in MMD: blast a hole in the wall! Customize MME effects
  • First Steps for the Beginner MMD MikuMikuDance artist Welcome to LearnMMD.Com!
  • The New LearnMMD Theater Seats .x accessory looks Great when you place it on your stage. MMD 7.39 accessory.
    New MMD Theater Seats Accessory Download on LearnMMD.com Google SketchUp and MMD

Subtex slot for MMD models in PMXE

Posted on July 23, 2018December 17, 2018 By bandages 2 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

  • Proper Computer DPI Scaling Setup Stops Text Cut Off in PMXE Mae Blythe
  • Weight Painting MMD models in Blender with MMD Tools Bandages
  • Convert .PMD Stages to .X Format using PMDE for MMD Accessory Manipulation/Adjust
  • PMDE Q&A – Making clothes follow model motions Fixing Broken Models
  • UV Unwrapping MMD Models in Blender with MMD Tools Bandages
  • Make Custom MMD Models using Downloaded Parts BigPerryman

More Related Articles

Convert .PMD Stages to .X Format using PMDE for MMD Accessory Manipulation/Adjust
The Easiest Way To Add Hair Physics in PMX Editor! BigPerryman
Cycles materials for textures model and nodes Cycles Materials For Textures in Blender: Nice Textures for MMD Fast! Blender
MMD Bone Reference Charts make MMD Model-making Easier! Mae Blythe
Add Facial Slider Options Using PMDE Enhance your MMD Models Modify Facial Sliders
Editing Model Materials in PMDE for MikuMikuDance PMD and PMX Models Fixing Broken Models

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

  1. 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 *

SEARCH LearnMMD.com
Click the Magnifying Glass at the top of the page to SEARCH LearnMMD.com
- Download the latest version of MMD MikuMikuDance!Step-by-step instructions to help you make an MMD Music Video! bo-beep-bo-beep! LearnMMD's Step-by-Step MMD instructions for MikuMikuDance! Learn to make your own motions in MMD!

Have fun with MikuMikuDance!

  • New MMD Video Taught Awareness of Camera Angles and Motion Quirks! "the making of" my video
  • Recent MikuMikuDance Updates may become collectible, who knows?! Download MikuMikuDance
  • Fix MMD Missing Model Options using PMDE Fixing Broken Models
  • The Making Of my “I Know Those Eyes / This Man Is Dead MMD” video "the making of" my video
  • MME: Less is More… Select only those that you need. Cook Torrence effect
  • My First MMD Video – After Struggling with Blender, MMD was Easy "the making of" my video
  • Skirt in the process of being rigged in PMX Editor
    PMXE Skirt Plugin Presets and Other Tips for Awesome Skirts Mae Blythe
  • LearnMMD’s Video Dojo Expo 4: Entries are CLOSED CONTESTS
See LearnMMD's write-up on how to be a GOOD MMDer... Keep the Faith-MMD!!
Keep the Faith-MMD... Learn how to be a GOOD MMDer!

Find out about writing for LearnMMD!

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

Powered by PressBook Premium theme

Go to mobile version