Closed tglewis1993 closed 2 years ago
I discovered that the Lightmapper in Unity does not support skinned meshes - so this is unfortunately an issue outside of the scope of HPSXRP. As we discussed in discord you'll need to flatten down any skinned meshes into regular meshes (in your own 3D software) if you want them to contribute to baked lighting.
The below screenshot displays the issue, the shading on the model is correct, but it casts no shadows nor receives shadows cast by other objects from the same light source.![shadebug1](https://user-images.githubusercontent.com/15706219/138168337-ea46e189-ebd2-4fd0-935b-461e604affed.PNG)
Lighting settings in this scene:![shadebug2](https://user-images.githubusercontent.com/15706219/138168516-f856b499-59f5-45e4-8a78-f585fecf8e1d.PNG)
Point light settings:![shadebug3](https://user-images.githubusercontent.com/15706219/138168557-e7b7b459-1059-4dd8-af58-0d475c565b2e.PNG)
Skinned Mesh material settings:![shadebug4](https://user-images.githubusercontent.com/15706219/138168622-99b65f76-dee0-4865-a4c7-b164aa5b099c.PNG)