Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

In raylib.h, the comment after the definition of BLEND_CUSTOM says “Belnd textures using custom src/dst factors (use SetBlendModeCustom())”. However, I could not find the definition of the function SetBlendModeCustom(). Where is SetBlendModeCustom() defined? I am using raylib 3.5.0 installed with vcpkg.

Hi! I'm afraid that comment was wrong, I already reviewed it. The function to use is rlSetBlendMode(), that is not exposed by raylib but internal to rlgl, you can use it just including rlgl.h.

I’ll try to use rlSetBlendMode(). Thank you for your prompt reply.