Skip to content

  • Default: 1

mirv_matte_method 1

Normal, use keying (see [[mirv_matte_setcolor|GoldSrc:mirv_matte_setcolor]] and [[GoldSrc:Matte Effects]]).

stream images:

worldentity
world streamentity stream

mirv_matte_method 2

Special / visibility matte / alpha matte.

stream images:

worldentity
world streamentity stream

This mode is superior to keying in when it comes transparency and anti-aliasing.

The behavior from (see above) is altered as follows:

  • World stream: Contains the full image now.
  • Entity stream:
    • Everything that would have been drawn in the entity stream is drawn white
    • Everything that would have been masked is drawn black
    • Everything that would be hidden is hidden ([[mirv_matte_xray|GoldSrc:mirv_matte_xray]])

Leave [[mirv_matte_setcolor|GoldSrc:mirv_matte_setcolor]] and [[mirv_matte_setcolorf|GoldSrc:mirv_matte_setcolorf]] default (black).

See also

  • [[GoldSrc:Matte Effects]]
  • [[GoldSrc:Commands]]

Made with ❤️ by Advancedfx