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
  • Starting-out Using MMD starts you on a learning path.
    Starting-out Using MMD Reader discovers missing elements. MMD Basics
  • My personal Jopurney through the many MMD memes.
    Personal Journey MMD Leekspin, Nyan Cat, Levan Polkka, more! Random Thoughts & Visions
  • Top-10 Best “motion-maker” MMDers on YouTube Intro to MikuMikuDance
  • MMD Wooden Stool Accessory from LearnMMD.com Google SketchUp and MMD
  • Keep The Faith MMD
    Use proper MMD Etiquette when Downloading Models for MMD Intro to MikuMikuDance
  • MME Quartz Effect Refracts Reflections All Around! MMD Tutorials
  • Hatsune Miku is 16 years old in 2023!
    2023: Hatsune Miku is 16 Years Old by design and in reality! MMD Tutorials
  • Build your own stage for MMD using Blender 2.69 Blender
Half-Lambert Shader.

How to Use the Half-Lambert Shader in MMD

Posted on April 17, 2014February 24, 2024 By Arizona No Comments on How to Use the Half-Lambert Shader in MMD

How do you use the Half-Lambert Shader in MMD? Where do you get the Half-LambertA Feature Article by contributor ARIZONA on LearnMMD.com Shader? How do you use the Half-Lambert Shader in MikuMikuDance? I got this error message when I tried to use the Half-Lambert Shader in MMD?

How to Download and Use the Half-Lambert Shader.

Half-Lambert Shader.     Earlier this month, we here at Learnmmd Labs had a question from a reader regarding the Half-Lambert Shader (HL). Late last year, I had started to write about the Half-Lambert but life happens, and it was tabled until this time.

     The Half-Lambert isn’t really a shader as we normally use them. It is a lighting technique developed for gaming. I found my version of the Half-Lambert at Kyaami’s YouTube Channel here: https://www.youtube.com/watch?v=DQGLdMznwZk . As usual, make sure you have the latest version of MME correctly installed. Please see Noko2’s article (https://learnmmd.com/http:/learnmmd.com/download-mme-install-mikimikueffects-add-effects-mmd-7-39/ ) regarding downloading and installing MME. Make sure that after you have downloaded this and renamed this in English, you place it into your effects folder

      After you have loaded all your data (models, motion, and accessories and load a Dummy Bone at this point), click on your MMEffects button, at the top left corner. Select the name of your model and double-click. Another window will open up and then you need to go to your effects folder and select the HL folder. Now select the Cook-Torrance.fx (there are other versions available in that file, but let’s stick with basics for now). Your model will now become very dark.

     You now need to go to the Model Manipulation Panel (MMP) and make sure it reads camera/light/accessory. Next you click the load button in Accessory Manipulation Panel (AMP) and load the Shadowmap.fx . (Note: Every time I have loaded this I have gotten this error message, I also got a white rectangle. I just uncheck the display box in the AMP and register this change. Honestly, I have skipped this step and everything seems to work out just fine-your results may vary).Half Lambert Error Message!

EDITOR’S NOTE: There’s another step that you need in case you want to use Half-Lambert to illuminate not only .pmd models but also .x accessories (for example, stages). For every item you apply the effect to, shadows must be turned on. All newly loaded .pmd models have shadows turned on by default; accessories do not, though. If you applied the effect to a stage and wonder why does it not work, check its shadow option in AMP.

Let There be Light.

PointLight.x is the next step for the Half-Lambert Shader. This is loaded through the AMP’s load button. There are several to choose from but let’s just use PointLight1.x for now. You can explore the other options on your own time. A white globe will now appear between you model’s ankles. Remember the Dummy Bone you loaded earlier? This would be the time to attach it to the PointLight sphere.

I’m sure you’re thinking the Half-Lambert Shader is something of a disappointment. Just bear with me, this is because you haven’t turned on the lights yet. If you look at the AMP’s Rx, Ry and Rz fields, they all read 0.0000 that means no color or off. By assigning positive numeric values to these fields you can change the color, hue and intensity of the light. Here’s a little chart to get you started.

Color Chart:

Rx: 0            Ry: 0            Rz: 0 = No color

Rx: 1            Ry: 1            Rz: 1 = White

Rx: 1            Ry: 0            Rz: 0 = Red

Rx: 0            Ry: 1            Rz: 0 = Green

Rx: 0            Ry: 0            Rz: 1 = Blue

Rx: 1            Ry: 0            Rz: 1 = Magenta

Rx: 1            Ry: 1            Rz: 0 = Yellow

Rx: 0            Ry: 1            Rz: 1 = Cyan/Aqua

The dummy bone you have attached gives you options for position and movement. Once you have finalized your PointLight’s position and/or motion. You may uncheck and register the display box. This will leave just the light remaining. The size of the sphere can be tailored with the Si field of the AMP.

I have uploaded a quirky little video using this effect to our YouTube Channel at: http://youtu.be/MpoAuquLmx0

Have fun with this.

MCL Len by MMD_MCL is apparently stunned by The Half-Lambert as it goes through him!


– SEE BELOW for MORE MMD TUTORIALS…


— — —


– _ — –


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

More MMD Tutorials...

Reader asks how to create MMD artwork... stuff like posing, camerawork?

A reader asks... Is there a tutorial on how to create MMD artwork, like those you ...read more

Learn MikuMikuDance in Small Steps! New LearnMMD Video Series

Learn MikuMikuDance in Small Steps. Where can I find easy-to-follow MMD instructions on YouTube? How ...read more

Apply Multiple Effects on an Entire MMD Model Using M4Layer Effect

How can I apply multiple effects to an MMD model? Can I use more than ...read more

MMD Plugin Manager... I Found a Treasure!

What sorts of MMD Plugins are there? MMD Plugin Manager? MMD Plugins. Plugin MMD. More ...read more

2023: Hatsune Miku is 16 Years Old by design and in reality!

Finally, in 2023, Hatsune Miku is 16 years old! When did Miku make her first ...read more

SEARCH LearnMMD.com... it's Easy!

Search LearnMMD.com to find your answers! With the posting of this article, LearnMMD.com has 758 tutorials ...read more

Half-Lambert Shader, MMD Tutorials, MME Effects Tutorials

Post navigation

Previous Post: Editing Model Materials in PMDE for MikuMikuDance PMD and PMX Models
Next Post: Create models from OBJ files using Blender and PMDE

Related Posts

  • Luka Loves the Rainbow Ring
    Use MME Rainbow Ring Effect in MikuMikuDance ARIZONA
  • How do I use MikuMikuDance Make A Music Video with MMD Intro to MikuMikuDance
  • INKSCAPE makes creating MMD Comics Easy Inkscape MMD Comics
  • Locomotion – MMD Trains: how to setup and move a train MMD Tutorials
  • MME Lighting Effect, PanelLight by Soboro, is easy to use!
    Add MME Lighting Effect illuminates model against dark stages MMD Tutorials
  • MME TexFire Effect adds flames but no light.
    MME TexFire Effect gives fire and flame but no light! MMD Tutorials

More Related Articles

Animation Inspiration: Motion Trace but Do your own thing! MMD Tutorials
Rendering in 4K video at 60FPS with MMD 4k video
Keep the Center-Bone when adding Mother-Bone to an older model MMD Tutorials
Search LearnMMD.com SEARCH LearnMMD.com… it’s Easy! MMD Tutorials
How To Add Depth and Emotion in an MMD Picture Advanced Shader Technique
Raycast / Ray-MMD First Steps MMD Tutorials

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
  • MMD Models with a Mother Bone are easy to move on your stage.
    MMD Mother Bones Allow Easy Dancer Model Movement From Stage Center ARIZONA
  • Be a responsible MMDer … “Keep the Faith!” Welcome to LearnMMD.Com!
  • LearnMMD.com _ MikuMikuDance MMD Tutorials
    A Discussion on the subject of Bone Deformation Hierarchy Bandages
  • A Discussion of unloved Vocaloids Downloading New Models
  • Fireworks Kai effect
    Using the Fireworks Kai effect for MikuMikuDance. ARIZONA
  • Make WAV files for MikuMikuDance Using Your Music Files Music and WAV Files
  • Using the Blood Effect in MMD MikuMikuDance Accessory Manipulation/Adjust
  • Visit Krystal-Sakura on Deviant Art to get "Sparkly Eyes" for MMD 7.39
    Change a Model’s Eyes Using MMD Eye Packs in MikuMikuDance NOKO2

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

Powered by PressBook Premium theme

Go to mobile version