Author Topic: StencilAlpha?  (Read 610 times)

Offline Strip

  • Gold Member
  • *****
  • Posts: 3319
StencilAlpha?
« 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


Offline Ex-jazz

  • Nickel Member
  • ***
  • Posts: 482
Re: StencilAlpha?
« Reply #1 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.

Offline Strip

  • Gold Member
  • *****
  • Posts: 3319
Re: StencilAlpha?
« Reply #2 on: December 18, 2009, 04:13:14 PM »
Thanks X-Jazz, the little extra .txt file did the trick first try!

<S>

Strip