|
SpriteImageRGB | |
SpriteImageRGB SpriteIndex, VertexIndex, VertexColour | |
Parameters: SpriteIndex = The Sprite you wish to set VertexIndex = The Vertex your wish to alter VertexColour = The RGB colour value of this vertex |
|
Returns: NONE | |
SpriteImageRGB allows you to set the RGB colour value level at any of the sprites corners. The RGB colours values only take effect when sprite is set to "Gouraud RGB" drawmode. FACTS: * Note: Sprites are drawn using a convex polygons, changing the intensity values can cause some render errors. So some care is needed. Mini Tutorial: This example creates an random image then applies this image to the screen full of sprites. Each sprites has it's UV coords stepped in and have random RGB values applied, so the sprites will shown the various stages of texel zooming with a gouraud RGB applied to them also.
|
Related Info: | GetSpriteImageU | GetSpriteImageV | SpriteDrawMode | SpriteImageIntensity | SpriteImageUV : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |