PDA

View Full Version : Help With Transparent Texturing



steven1075
02-17-2010, 05:17 PM
Ok I have a mesh of some tall grass and it has 2 different materials that go to it. I imported the 4 Images for the mesh, 2 of them are diffuse and 2 of them are have "tr" at the end of them so I took a guess it was transmission. Heres the problem I'm having, I cant get the black in the texture 2 be transparent. Heres what it looks like:

http://i648.photobucket.com/albums/uu205/stevendickey/Mesh_Editor.png


I know I'm setting up the Material wrong, but heres one of the Materials I'm setting up:


http://i648.photobucket.com/albums/uu205/stevendickey/Material_Editor.png


Thanks for reading

ThePriest909
02-17-2010, 05:24 PM
Plug the alpha mask to the opacity mask plug instead.
You would also like to tick both "two sided" and "two sided sep".
And for blend mode use blend_masked.

Edit:
I would also recommend using a normal-map as well.

steven1075
02-17-2010, 05:33 PM
Ok I did that, but its exactly the same "Also I dont have a normal map for it". I tried setting the BlendMode 2 masked, translucent, and opaque. And that didnt work either.

ThePriest909
02-17-2010, 05:42 PM
It's the masked mode you need.
Are you sure you are using the opacity mask and NOT the trasmission mask ?

JohNLA
02-17-2010, 05:43 PM
Invert your alpha texture

ThePriest909
02-17-2010, 05:48 PM
Invert your alpha texture

God damn... How did I missed that!!!
Indeed. That's your problem Steven.

steven1075
02-17-2010, 05:49 PM
Ok now this is prob the noobish ? u have ever heard, but how would I go about inverting the alpha texture?

ThePriest909
02-17-2010, 05:53 PM
Ok now this is prob the noobish ? u have ever heard, but how would I go about inverting the alpha texture?

As simple as it can be. Use photoshop or some other image editing app.
It's just a button. If I recall right the function should also be available by the windows-paint.

steven1075
02-17-2010, 06:08 PM
Worked 100% guys! Thank you so much!!! Heres a pic so you guys can see the final product:

http://i648.photobucket.com/albums/uu205/stevendickey/Finished.png


Thanks

JohNLA
02-19-2010, 04:12 PM
Glad I could help.
To keep things tidy you should probably store your transparency map in the Alpha channel of your diffuse texture and save as 32 bit.
You then only need one texture.