ray-mmd icon indicating copy to clipboard operation
ray-mmd copied to clipboard

Texture issues on two models--what's going on here?

Open SirFunkalo opened this issue 5 years ago • 1 comments

Hi,

I'm pretty new to raycast, but I've been able to get it working smoothly...until now. See, I have two models that are behaving oddly with the shader, and I'm not sure what's interacting to get these results.

Here's what I've done. The models are in position, the stage is set. I'm using Time of Night (the skybox can't render but that's fine). I apply all the materials.

The first model's glasses are showing through all the other parts of him. Doesn't matter which angle he's viewed at, you always see his glasses. And the textures of his face and hair are barely affected by rayshader. There's parts of his hair that are just grayed out.

canafail

I can't figure out what I did differently here, I think I might have BlackOut at this point? failada

The second model is fine, except her chest doesn't react to rayshader. I've tried editing the textures to be the same as her face, but that changed nothing. Her face does have a toon texture, where her chest does not. Don't know if that affects anything. failarus

My question is, what's wrong? And what should I do to fix it?

SirFunkalo avatar Nov 18 '18 21:11 SirFunkalo

Most likely is that your model's materials list is not ordered correctly. Geometry which shows over another geometry must be below it on the material list.

IE: eye whites, pupils, mouth parts, face, hair, glasses.

That or you reset the effect for the glasses on the depth tab.

In the second one - you probably do not have the base material set for majority of the model. Without seeing the effects list - we can only guess.

Amani747 avatar Nov 25 '18 21:11 Amani747