diff --git a/scripts/BulbRenderer/BulbRenderer.gml b/scripts/BulbRenderer/BulbRenderer.gml index b3a85f3..aed4457 100644 --- a/scripts/BulbRenderer/BulbRenderer.gml +++ b/scripts/BulbRenderer/BulbRenderer.gml @@ -584,7 +584,7 @@ function BulbRenderer(_ambientColour, _mode, _smooth) constructor gpu_set_ztestenable(true); gpu_set_zwriteenable(true); - if (mode == BULB_MODE.HARD_BM_MAX) + if ((mode == BULB_MODE.HARD_BM_MAX) || (mode == BULB_MODE.HARD_BM_MAX_SELFLIGHTING)) { gpu_set_blendmode(bm_max); var _resetShader = __shdBulbPremultiplyAlpha; diff --git a/scripts/BulbRendererWithGroups/BulbRendererWithGroups.gml b/scripts/BulbRendererWithGroups/BulbRendererWithGroups.gml index 5cf2374..9d7badd 100644 --- a/scripts/BulbRendererWithGroups/BulbRendererWithGroups.gml +++ b/scripts/BulbRendererWithGroups/BulbRendererWithGroups.gml @@ -660,7 +660,7 @@ function BulbRendererWithGroups(_ambientColour, _mode, _smooth, _maxGroups) cons gpu_set_ztestenable(true); gpu_set_zwriteenable(true); - if (mode == BULB_MODE.HARD_BM_MAX) + if ((mode == BULB_MODE.HARD_BM_MAX) || (mode == BULB_MODE.HARD_BM_MAX_SELFLIGHTING)) { gpu_set_blendmode(bm_max); var _resetShader = __shdBulbPremultiplyAlpha;