Nan
2nd Oct 2008, 07:41 PM
I was trying to make a shower (the cheaper one : Clean Water Shower System) with a transparent curtain, using mike19' tutorial here (http://www.modthesims2.com/showthread.php?t=220244&highlight=transparency).
That is, change the stdMatAlphaBlendMode from none to blend, and the texture format from DTX1 to DTX3 (the format is already DTX3 on this shower).
I already applied this tutorial with success to the expensive tub/shower (sorry, it was some time ago and I don't remember it's english name).
The tricky part is that I wanted to import the alpha channel with the image using the NVIDIA DXT building (I can't remember if that's what I did the fist time with the tub/shower), but I didn't know how to do the alpha channel in Paint Shop Pro (7).
I found a technique (or so I think) to modify the alpha channel of the texture by experimenting, so if someone can tell me if it's right :
I first made the alpha as a separate image, and then introduced it in my texture using a mask from new image, and then I saved the mask in alpha channel, using the default one. I then removed the mask without merging it in the image.
After that the alpha seemed right in PSP, and it looked right in SimPE too (with the white & grey squares to show the transparency)
But it gives a bad result in game, see pictures attached. In fact, the shower is entirely transparent on certain angles. I can't be more specific than that, sorry. You'll have to watch the pictures attached and mayby look at the recolor in your game if you want.
That's why I attached the package itself, if it is of any use to someone. I've also included the texture I used to recolor the shower in the rar, because the image was too big to be attached.
I hope there's a (simple) solution, but it's an object that doesn't have a choice of colors without CEP, and so I wonder if it could be the reason why it doesn't work properly.
I use the latest versions of SimPE and CEP, the ones updated for AL (V0.72 and V9.0).
That is, change the stdMatAlphaBlendMode from none to blend, and the texture format from DTX1 to DTX3 (the format is already DTX3 on this shower).
I already applied this tutorial with success to the expensive tub/shower (sorry, it was some time ago and I don't remember it's english name).
The tricky part is that I wanted to import the alpha channel with the image using the NVIDIA DXT building (I can't remember if that's what I did the fist time with the tub/shower), but I didn't know how to do the alpha channel in Paint Shop Pro (7).
I found a technique (or so I think) to modify the alpha channel of the texture by experimenting, so if someone can tell me if it's right :
I first made the alpha as a separate image, and then introduced it in my texture using a mask from new image, and then I saved the mask in alpha channel, using the default one. I then removed the mask without merging it in the image.
After that the alpha seemed right in PSP, and it looked right in SimPE too (with the white & grey squares to show the transparency)
But it gives a bad result in game, see pictures attached. In fact, the shower is entirely transparent on certain angles. I can't be more specific than that, sorry. You'll have to watch the pictures attached and mayby look at the recolor in your game if you want.
That's why I attached the package itself, if it is of any use to someone. I've also included the texture I used to recolor the shower in the rar, because the image was too big to be attached.
I hope there's a (simple) solution, but it's an object that doesn't have a choice of colors without CEP, and so I wonder if it could be the reason why it doesn't work properly.
I use the latest versions of SimPE and CEP, the ones updated for AL (V0.72 and V9.0).