From 113402498541fee4f541f0b0ef805006ddaa5ad0 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Tue, 1 Sep 2020 21:27:47 +0200 Subject: [PATCH] Update rlgl.h --- src/rlgl.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/rlgl.h b/src/rlgl.h index e508ebf8..f098fad8 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -382,10 +382,12 @@ typedef unsigned char byte; // Color blending modes (pre-defined) typedef enum { - BLEND_ALPHA = 0, - BLEND_ADDITIVE, - BLEND_MULTIPLIED, - BLEND_ADD_COLORS + BLEND_ALPHA = 0, // Blend textures considering alpha (default) + BLEND_ADDITIVE, // Blend textures adding colors + BLEND_MULTIPLIED, // Blend textures multiplying colors + BLEND_ADD_COLORS, // Blend textures adding colors (alternative) + BLEND_SUBTRACT_COLORS, // Blend textures subtracting colors (alternative) + BLEND_CUSTOM // Belnd textures using custom src/dst factors (use SetBlendModeCustom()) } BlendMode; // Shader location point type