-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Labels
Description
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:
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):
Reproduction steps
- Use MMDLoader for example using the code from the following MMDLoader example: https://threejs.org/examples/webgl_loader_mmd.html
- Replace the PMD file referenced within the code with any PMX file
- 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

