Page 1 of 1

Transparent Flats

Posted: Mon Jan 02, 2006 9:51
by Planky
Is it possible in gzDoom to have partly transparent flats? or is there a simpler method I can use?

Reason being is that I want to have bloody foot prints appear to be heading towards the player when he walks into a room.

Posted: Mon Jan 02, 2006 11:16
by Graf Zahl
Transparent flats need to have something behind them. That limits them to stacked sectors and 3D-floors. And there they work.

Posted: Mon Jan 02, 2006 14:31
by smg m7
So cyan ixels in a flat will be transparent when put on a 3D Floor? That's extremely helpful.

Posted: Mon Jan 02, 2006 15:58
by Graf Zahl
Be careful. It is not that simple. Flats between F_START/F_END don't have transparency. You have to use a texture with transparent parts.

And again: Cyan is *not* equivalent with transparency! It only masks the transparent parts for most WAD tools and is a totally arbitrary choice.

Posted: Mon Jan 02, 2006 18:54
by smg m7
True, but it is the most common entry. And how do you put a texture on a floor? I'm in need of some elaboration here.

Posted: Mon Jan 02, 2006 19:07
by Graf Zahl
Just enter the name of a wall texture into the field instead of a flat name.

Posted: Mon Jan 02, 2006 19:55
by smg m7
Oh. That's cool. It works with any texture, I suppose, then?

Posted: Mon Jan 02, 2006 20:08
by Graf Zahl
Indeed. And flats on walls as well.

Posted: Mon Jan 02, 2006 22:13
by smg m7
Is this in normal Zdoom too? That could lower file sizes immensly.

Posted: Mon Jan 02, 2006 22:33
by Graf Zahl
Sure. It has been added 2.5 years ago.

Posted: Tue Jan 03, 2006 0:09
by Planky
Graf Zahl wrote:Transparent flats need to have something behind them. That limits them to stacked sectors and 3D-floors. And there they work.
Indeed. How to I make the 3d floor invisible while still having the texture on top of the floor visible?

Edit: I imagine a null texture on the sides of the 3d floor would work.