|
Post by mayray89 on Jun 17, 2016 4:40:52 GMT -5
I'm making curtains but an confused about the shadow meshes both the main mesh and the shadow mesh have the same cut number. It looks like the shadow mesh is vertex painted but I'm not sure. How do I handle this?
|
|
|
Post by orangemittens on Jun 17, 2016 6:28:09 GMT -5
Hi mayray89, welcome to Studio forums. Which curtains are you working with?
|
|
|
Post by mayray89 on Jun 18, 2016 1:39:17 GMT -5
Hi mayray89, welcome to Studio forums. Which curtains are you working with? It's the puppet theater curtain 1x1x2. And thanks for helping!
|
|
|
Post by orangemittens on Jun 20, 2016 7:43:52 GMT -5
Hi mayray89 , the puppet curtain has no shadow mesh group in LODs 0 and 1. Both contain a single mesh group and it is numbered cut 0. If you give your LOD 0 main mesh a cut number of 0 it will replace this mesh when you import your LOD 0 back to the .package. The same is true for LOD 1. Shadow LOD 0 is the shadow LOD and it contains the shadow mesh. This is used to cast shadows if the curtain is placed outside in the sun. It is grey because it has no textures applied to it in the game and it has no vertex paint. In the game this LOD is not visible. It is used by the game engine as a shadow caster. It has a cut number of 0 also because there is only one mesh group in the shadow LOD. You should give your shadow mesh group a cut number of 0 also. Then when you import Shadow LOD 0 your shadow mesh will replace this shadow mesh inside the shadow LOD. Studio looks at the LOD group name and number as well as the cut number when deciding what mesh to replace. It will not replace a mesh in LOD 0 with the mesh you're importing to Shadow LOD 0 no matter what cut numbers you use.
|
|
|
Post by linq on Jan 30, 2021 19:40:53 GMT -5
Sorry. Decided to make a new thread.
|
|