3D [SOLVED] draw_set_alpha_test_ref_value() is obsolete in gms2. Is there a replacement for this?

G

guyinboots

Guest
In gms2, draw_set_alpha_test_ref_value() was made obsolete, but i need it to stop a weird texture glitch. Do yall know if there is a replacement for this command, or a compatibility script because I haven't been able to figure this out or find it on google. Thanks in advance!
 

Miradur

Member
Hi, use the follow:

Code:
/// @description Sets the blend mode for drawing.
/// @param mode The blend mode constant to set to

gpu_set_alphatestref( argument0 );
Miradur
 
G

guyinboots

Guest
Hi! Thank you so much. The way they kinda switched up old functions was really confusing :D But thank you guys so much!
 
Top