Deprecated: Function split() is deprecated in /home/wiki/public_html/inc/common.php on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/wiki/public_html/inc/common.php:533) in /home/wiki/public_html/inc/actions.php on line 71
tvmesh:setalphatest [TV3DWiki]
 
Table of Contents

Wiki > TV3D65 Index > TVMesh

SetAlphaTest

DESCRIPTION

- Set at which treshold to draw alpha transparency.

DECLARATION

VB.NET SetAlphaTest(bEnable As Boolean , cReferenceValue As Integer , bDepthBufferWrite As Boolean , iGroup As Integer)
C++ void SetAlphaTest(bool bEnable , int cReferenceValue , bool bDepthBufferWrite , int iGroup )

PARAMETERS

NAMEOPTIONALDESCRIPTION
bEnableYesEnable or disable
cReferenceValueYesWon’t draw texel where Alpha < ReferenceValue. Everything above is drawn. (values 0-255, recommended 128)
bDepthBufferWriteYesWrite to depth buffer?
iGroupYesGroup

RETURN VALUE

Null Does not return a value.

EXAMPLES

ExampleBasic example.

TIPS

  • Use DDS textures. ;)
 
tvmesh/setalphatest.txt · Last modified: 2010/03/06 08:24 by 109.106.247.242