Skip to content

MMDLoader Colorization Issue #26553

@ep5000

Description

@ep5000

Description

When using recent versions of Three.js (155) the MMDLoader appears to be loading PMX files with washed out colors. Using the code from the following link: three.js webgl - loaders - MMD loader , the Miku model renders fine (this is an older PMD file with simpler textures), but trying it against another, newer PMX file the colors appear very washed out. See the following result:

image

It seems that the colorization on MMD files has been broken since r92. Loading the file using the older r92 Three.js code works fine (see the following):

image

Reproduction steps

  1. Use MMDLoader for example using the code from the following MMDLoader example: https://threejs.org/examples/webgl_loader_mmd.html
  2. Replace the PMD file referenced within the code with any PMX file
  3. Observe the results

Code

const modelFile = 'models/mmd/miku/miku_v2.pmd';  **// Replace this with any .pmx file**
const vmdFiles = [ 'models/mmd/vmds/wavefile_v2.vmd' ];

Live example

https://jsfiddle.net/jasondalycan/cum250ad/1/

Screenshots

No response

Version

r155

Device

Desktop

Browser

Chrome, Edge

OS

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions