-
Notifications
You must be signed in to change notification settings - Fork 0
Texture_set_border
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Sets the border color of the texture used when blending to non existant pixels. For instance if you have are rendering a billboard with a transparent cutout, this will change the color the pixels at the edges blend with.
- texid, index of the texture
- r, red color component
- g, blue color component
- b, green color component
- a, alpha color component
This function has no return values.
texture_set_border(tex, 255, 0, 0, 0.5);Demonstrates setting the border color of a texture to half opaque pure red. NOTOC
This is number 1