✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Dec 26, 2016 15:25:49 GMT 10
While working with some transparent textures in Milkshape3D I noticed that if I make an object in my model with a transparent texture, the object underneath also becomes transparent, but only when viewed though the original transparent object. Have a look at these pictures: In this photo above we can see that the model's hair texture is transparent on the tips, but that the shirt underneath has also become transparent, but only when viewed through the transparent part of the hair. What is interesting is that the bag straps (red shoulder straps) do NOT become transparent, but the shirt does. I tried changing the texture of the shirt in Milkshape3D, but it makes no difference, as a bleed through the shirt still remains. This also happens with another transparent object of this model when placed in front of this shirt. One solution is that if I create a new object and place it under the shirt where the hole is, this object does not become transparent. Also of interest is that the hair becomes transparent on itself as seen below: Is this a bug? I was told by another user that transparencies for RE4 UHD are buggy, but if I am able to correct the issue by placing a new object underneath. What is going on here? in my MTL file I have all normal textures mapped 'map_Kd', and all transparent textures mapped 'map_D' newmtl 0031 illum 2 Kd 0.800000 0.800000 0.800000 Ka 0.200000 0.200000 0.200000 Ks 0.000000 0.000000 0.000000 Ke 0.000000 0.000000 0.000000 Ns 0.000000 map_Kd 0031.dds (this is the DDS version of the hair file)map_D 0050.tga (this is the tga version of the same hair file)
|
|
✫Advanced Coder✫
gridning hard working on a fan game - Resident Evil Remix
Posts: 2,995
|
Post by Mr.Curious on Jan 27, 2017 20:55:32 GMT 10
I found a solution a while ago to this which was to duplicate the layer and reverse the vertex order. In another situation I was able to fix the problem simply bu re-arranging the layer order in Milkshape3D, however I am now experiencing the same problem, but alas I have found another solution! What was happening was that there was a layer with a transparency right over top of another layer with a transparency, while both of teh objects were referencing the same texture file. What I did to solve the issue was to duplicate the texture files and map the second object to the duplicated texture files and it works.
|
|