ray-cast / ray-mmd

🎨 The project is designed to create a physically-based rendering at mikumikudance.
https://twitter.com/Rui_cg
Other
1.71k stars 573 forks source link

raycast not not working on some models (turning them fully black) #145

Open kentlean opened 1 year ago

kentlean commented 1 year ago

WhatsApp Image 2023-04-09 at 16 30 31

I've put the main.fx files to both models however for some reason one of the models turned all black when i use the effects file while the other turned as the way it should. I did everything the same to both models so i don't understand what might be the problem. Is there any way to fix this?

theguy-tdc commented 1 year ago

Hello! i might have a solution for that, Well on some models there's one bug. and you can fix it 1. You need go to MME menu, then find the "MaterialMap" 2. click on it and find your model name 3. Double click it and find "materials" folder then, scroll down and apply the material called "material_2.0.fx" then put the effect on and done! you should have textures now.