Syntax

dbSetSpriteDiffuse(SpriteID, Red, Green, Blue)

Description

This command will set the diffuse values of the specified sprite. The diffuse values controls the quantity of colour the sprite uses from each RGB component. The value ranges are 0 to 255, with 255 being completely full and 0 being no color use. If you only specified a value in the Red component, the sprite would appear a shade of red. Same goes for the other colours, and combinations of colour.

See Also

dbSetSpriteAlpha, dbSetSpriteTextureCoord, dbSpriteAlpha, dbSpriteBlue, dbSpriteGreen, dbSpriteRed