Page 1 of 1

SkinnedMesh with transparency is possible?

Posted: 2020-07-19 07:02
by Phantheon
I have doubts about using transparencies in Skinned Mesh. I am aware that they are usually models that contain the arms of the soldiers in the first person and the model of the player in the third person. In BundledMesh I know that it is possible to use this type of transparency in weapons where the Alpha channel gets highlights. Is this possible with Skinnedmesh?

Re: SkinnedMesh with transparency is possible?

Posted: 2020-07-19 07:19
by Outlawz7
In vBF2, the ghillie suit kit geometry for sniper has transparency and kit geoms are skinnedmesh, so seems possible.

Image

Best thing is to just do it and see.

Re: SkinnedMesh with transparency is possible?

Posted: 2020-07-19 08:04
by Mats391
As Outlawz pointed out, it is possible and we use it on our kits as well. However only the alpha_test technique is possible, so you can only have 100% or 0% alpha.

Re: SkinnedMesh with transparency is possible?

Posted: 2020-07-19 18:18
by Phantheon
I changed the Shader from SkinnedMesh.fx to BundledMesh.fx, precisely because I wanted to use the Normal Map Tangent Space instead of the Object Space Normal Map.

No Alpha Test:
Image
Image

With Alpha Test:
Image

Well, yes it is possible. However when saving, the transparency automatically returns by default as none.