custom transparent textures Created 19 years ago2005-10-17 07:59:59 UTC by Tosse Tosse

Created 19 years ago2005-10-17 07:59:59 UTC by Tosse Tosse

Posted 19 years ago2005-10-17 07:59:59 UTC Post #141947
I just started making textures and im trying to make tree with transparent background, and i used the same blue as in the ladder texture and i have a "{" in the name "{tree" but it won?t turn transparent when i use it.

properties in hammer i used
func_wall
Render mode "solid"
FX amount "255"

so there isn?t anything wrong i did in hammer.

Is it anything else i must do to make it transparent?
Posted 19 years ago2005-10-17 08:02:03 UTC Post #141948
It's not the color that makes it transparant, it''s the index of the color. You should use the last color of the palette for the transparant parts. In most cases, it's a pure blue color, but it doesn't have to be, as long as it's the last color it will work.
Posted 19 years ago2005-10-17 08:03:57 UTC Post #141949
Thank you P
Posted 19 years ago2005-10-17 08:09:20 UTC Post #141951
No problemo. :)
Posted 19 years ago2005-10-17 08:11:35 UTC Post #141952
Thanks captain you helped me alot! :) Now I can make transperent computers!(black parts) :biggrin:
Posted 19 years ago2005-10-17 11:02:24 UTC Post #141977
I suspect, myself, though I've never investigated it, that the "FX amount" field defines the palette entry to be used for transparency.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-10-17 11:13:38 UTC Post #141982
FX amount "90"
Madcow MadcowSpy zappin my udder
Posted 19 years ago2005-10-17 11:32:16 UTC Post #141985
for a func_wall or func_illusionary, the fx amount (assuming the render mode is set to "solid" or "texture") is the transparency. 255 is fully opaque (so you'd use that with "solid" render mode for, say, ladders) and 1 is (for all intents and purposes) fully transparent. I usually use 100-128 for glass, with render mode "texture".
Posted 19 years ago2005-10-17 13:27:57 UTC Post #142023
I know all that, i just wanted the backround transparent, and captain P helped me with it.

BTW, anyone knows how to make a sky texture ? there is no tut for that

maybe i should make a new thread for this, it?s of topic...
Posted 19 years ago2005-10-17 13:41:49 UTC Post #142028
I know...but not so good at getting rid of those seams : I'll see what I can do! ;)
Posted 19 years ago2005-10-17 17:59:15 UTC Post #142075
Sky textures are .tga's and placed in the env folder, if I'm not mistaken. There's a nice tool to generate sky textures, I believe it's Terragen or such.

@Seventh: if my memory serves me correctly, it's not a link to the transparancy color, but it's a long time ago I tested this, so, yeah...

Also, using texture mode always makes the transparant part invisible, and you can still control the transparancy of the rest. Again, if I'm not mistaken. It's been a while... :)
Posted 19 years ago2005-10-18 08:08:45 UTC Post #142117
Yeah i?ve got terragen now, but i can only save it as .tkw files...
I have a lot to learn, it is a lot harder than i thought to make a sky, and all i wanted was a foggy sky, black and white, no accual colors
Posted 19 years ago2005-10-18 08:11:12 UTC Post #142118
Thats easly done! :) I can make it! ;)
Posted 19 years ago2005-10-18 08:12:37 UTC Post #142119
Im sure you can ;) But im the kind of guy that wouldn?t be as proud of it if i haven?t done it myself :P But teach me how
Posted 19 years ago2005-10-18 15:19:32 UTC Post #142191
For a texture with transperent areas make sure to use pure blue in color index #255. I had that same exact problem using wally. The reason was that even though I was using pure blue (red:0 green:0 blue:255) it wasn't placed in color index #255 on wally's color palette (I think it was in #250 or something similar). When changed and flood filled color index #255 into the regions of the texture that were supposed to be transperent it still considered it color index #250 (or whatever the other index with pure blue was). Thus, you should only have index #255 be a pure blue while changing the other pure blue color index to something else such as slightly red (red:1 green:0 blue:255 [This is of course assuming you still want to have a nice blue which isn't transperent. Otherwise you can just change it to anything you want]) Hopefully that is understandable... :nuts:
You must be logged in to post a response.