3D Game Builder SDK

SDK Functions

gameSetAdditiveBlendTGA( int id, int set )

Description

Set an image to be rendered as a reflection using an additive blend mode.

Specification

int gameSetAdditiveBlendTGA( int id, int set )

int id

= the id number of the image

int set

= 1 (set) or 0 (unset)

return value

= 1 (success) or 0 (fail)

Notes

This function changes the rendering mode for a TGA image file to simulate reflection effect using an additive blend mode.

For Example


			

See Also

  gameValidateTGA( char * name )
  gameOpenTGA( char * name )
  gameCloseTGA( int id )
  gameSetAdditiveBlendTGA( int id, int set )
  gameSetSmoothTGA( int id, int set )
  gameSetInvisibleColorTGA( int id, float r, float g, float b )
  gameSetTransparencyTGA( int id_base, int id_alpha )
  gameBindTexture( int id )

Go Back

SDK Functions