ray-cast / ray-mmd

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

Weird mouth glow using a point light #105

Closed HandMeTheMaik closed 4 years ago

HandMeTheMaik commented 4 years ago

Hello! I've used raycast for about two years, but I'm only now really diving into complex features the effect provides. I recently discovered the lighting folder, which I've garnered some decent results with, but one thing has bothered me. Whenever I use TubeLight or RectangleLight, Miku decides to shoot a light beam from her mouth, just to spite me. image I don't know why this is happening. It's pretty annoying. Any help would be appreciated :))

Fau13F commented 4 years ago

it's normal it's because you assigned a smooth material on the tongue i think. maybe the tongue subset come with the eyes or something where you add a clearcoat or anisotropy, just simply change it ^^

HandMeTheMaik commented 4 years ago

I actually found the fix for this a couple days ago! I was using the regular spotlight_lighting rather than spotlight_shadow. Thank you for the tip tho!