Posted by: Mates - Tuesday, March 16, 2010 2:55:12 PM
[size=6]Hello all. I have a question and I need your help. I'm doing a structure model in RenX and I have there a camouflage netting, but I do not know exactly how to make a texture for it or how to correctly set it in RenX.I never worked with transparency of texture. I tried various tutorials, but the only thing I managed to make that black color disappeared from whole texture (and not only from the alpha channel). I do textures in photoshop. Please help with this.[/size]
Posted by: krit - Tuesday, March 16, 2010 4:01:21 PM
Hi, well I use PSP for my textures , but assuming you know how to save an alpha channel to your image with photoshop , the next step is to enable the alpha blend mode in RenX ...
In the material editor, under the pass 1 roll out panel, select the Shader panel, and set Blend Mode to Alpha Blend. If you have saved your alpha channel correctly in your photoshop, than it is that easy to apply the texture and have it render correctly. Again i must say , i dont use photoshop, but im assuming that if you dont know how to save a proper alpha channel in photoshop , there is an abundance of help via google.
Let us know if this helps .
Posted by: Mates - Wednesday, March 17, 2010 1:10:43 AM
[b]Krit:[/b]
I use TGA format. And when I open channels in Photoshop i see aplha channel layer (created by me).
[b]madmax_the modder: [/b]
Yes, I try set Blend mode to alpha blend but nothing happend in-game. With opaque setting dissapear black color. What program do you use to edit textures?
I think, that problem is in texture format (incorrectly save aplha chanel). And can I see transparency in RenX or only on compiled model in-game?
Posted by: madmax_the modder - Wednesday, March 17, 2010 1:29:46 AM
Unfortunately, gmax (assuming that is what yer using) doesnt have the capability to render transparency in viewports... this actual transparency will only show up in the game when exported corectly, etc. I use PaintShopPro , however, most paint/photoshops use very similiar methods for creating and saving alpha channels. Do a seach on google for ** how to create an alpha channel + name of program** and im sure you will be able to verify if you are doing this right or not.
PS just did a google search and instantly got this hit
http://www.axialis.com/tutorials/tutorial-misc001.html
See if it helps at all.
Posted by: Mates - Wednesday, March 17, 2010 3:10:27 AM
Still no success.I check that tut. and i make textures same way, but I tried do texture exactly as they do it in tutorial, but result was same. When I open texture preview in [b][color=darkred]RenX[/color][/b] a set to "Display alpha chanel" I see the appropriate form of alpha channel!! In shared set to aplfa blend as you said, but finaly in game "transparent parts" were white, not transparent.
here are some pics, may be help.
[b]Shared settings[/b]
[img]http://img59.imageshack.us/img59/5548/shared.jpg[/img]
[b]Texture[/b]
[img]http://img201.imageshack.us/img201/2118/textures.jpg[/img]
[b]And there view of aplha channle in RenX. Seems correctly.[/b]
[img]http://img34.imageshack.us/img34/5219/viewyw.jpg[/img]
[size=6][color=green]Thank you for your helping. I hope we solve this problem.[/color][/size]
Posted by: krit - Wednesday, March 17, 2010 4:02:24 AM
Disable "Detail Alpha" under the shader tab
Disable "Alpha Bitmap" under the textures tab
Also, preview the model with the texture in W3D viewer, if it doesn't show up correctly there it won't show up correcly ingame either.
Posted by: Mates - Wednesday, March 17, 2010 5:24:24 AM
HEY!! that works! Thank you very much! I go to try another texture if it wokr too. I post here again with result.
Posted by: Mates - Wednesday, March 17, 2010 6:14:02 AM
I tested another texture and all work fine. Thank you very much. Whole problem were wrong RenX settings in material editor. Again thanks.