SkinnedMesh with transparency is possible?
-
Phantheon
- Posts: 3
- Joined: 2020-07-19 06:47
SkinnedMesh with transparency is possible?
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?
In vBF2, the ghillie suit kit geometry for sniper has transparency and kit geoms are skinnedmesh, so seems possible.

Best thing is to just do it and see.

Best thing is to just do it and see.

- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: SkinnedMesh with transparency is possible?
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.

Mineral: TIL that Wire-guided missiles actually use wire
-
Phantheon
- Posts: 3
- Joined: 2020-07-19 06:47
Re: SkinnedMesh with transparency is possible?
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:


With Alpha Test:

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


With Alpha Test:

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.
