Aces High Bulletin Board

General Forums => Terrain Editor => Topic started by: Strip on December 17, 2009, 01:48:03 AM

Title: StencilAlpha?
Post by: Strip on December 17, 2009, 01:48:03 AM
Can someone explain the process behind StencilAlpha in AC3d or in any software?

I tried setting a square poly to StencilAlpha=1 and using 255,0,255 on a texture. I didn't think it could be that easy, I was right it would seem. The texture just shows up as hot pink instead of stenciling my door out.

Strip

Title: Re: StencilAlpha?
Post by: Ex-jazz on December 18, 2009, 08:48:24 AM

From top of my head

Texture transparency
The alpha channel index number in [texture name]_a.txt file define the transparent colour in given texture.  This index number directly pointing to the pallet position = colour.

Texture stencil alpha
This property can use only if texture’s alpha channel is setup properly. The StencilAlpha=1 property allows the projectiles to pass the transparent texture areas without collision.
Title: Re: StencilAlpha?
Post by: Strip on December 18, 2009, 04:13:14 PM
Thanks X-Jazz, the little extra .txt file did the trick first try!

<S>

Strip