SkinnedMesh with transparency is possible?

Making or wanting help making your own asset? Check in here
Post Reply
Phantheon
Posts: 3
Joined: 2020-07-19 06:47

SkinnedMesh with transparency is possible?

Post 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?
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: SkinnedMesh with transparency is possible?

Post 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.
Image
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: SkinnedMesh with transparency is possible?

Post 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.
Image

Mineral: TIL that Wire-guided missiles actually use wire
Phantheon
Posts: 3
Joined: 2020-07-19 06:47

Re: SkinnedMesh with transparency is possible?

Post 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.
Last edited by Phantheon on 2020-07-19 18:24, edited 1 time in total.
Post Reply

Return to “PR:BF2 Community Modding”