|
Post by HugHug003 on Aug 14, 2024 6:50:21 GMT -5
I flipped a hair mesh horizontally by selecting all in edit mode in blender and pressing "ctrl + M" and then "x", and then flipped the normals. I also flipped the shadow texture to make sure the shadow under the bangs was on the correct side. It looks correct in CAS but in game I get this black line across the face. How can I fix it? Here is the package file.
|
|
|
Post by mauvemorn on Aug 14, 2024 9:51:07 GMT -5
Hi. The issue is caused by a bug related to how png shadow maps are converted to dds. To fix it, open your shadow map in photopea, File - Export As - More - dds, change Compression to BC3 and enable Add mipmaps. That said, when you flip a mesh, you need to re-do everything beside vertex paint. Also, in this specific case, you need to stretch uvs in uv_1 because, i assume, the original author made them wrong. The vertex paint actually isnt right either, but it will not cause problems in this case. - select s4studio_mesh_1, shift-select s4studio_mesh_3, switch to edit mode; - select each meshgroup and choose its uv_1; - in 3d view select everything with A; - in uv editor change the pivot to 2d cursor; - UVs - Mirror - X axis; - in View tab change cursor's Location X to -1024; - press S X 2 to stretch them; - also, in case you havent, select everything and Mesh - Merge - By distance
|
|
|
Post by HugHug003 on Aug 14, 2024 10:28:45 GMT -5
Hmm ok I did that first step and exported it as a dds with those options, but it looks the same. This is just for a screenshot I'm trying to take so I wasn't planning on doing the second half bc I didn't really understand everything after that. But since it still is broken do I have to do all that? or should that have fixed it? mauvemorn
|
|
|
Post by mauvemorn on Aug 14, 2024 11:08:58 GMT -5
Did you do everything exactly as explained or was something unclear? If it’s for a screenshot, then you can just make the shadow map blank with Make blank button
|
|