What is the blend mode (algorithm) of `albedoColor` and `albedoTexture` in PBRMaterial?

Hey folks,

Just wondering what is the blend blend (algorithm) of albedoColor and albedoTexture in PBRMaterial?

Looks like it is multiply but just want to confirm. Also does babylon has other blend mode than this default one? (for example: “add”, “screen”, “overlay”…etc any other Photoshop styled blend modes)

Also I have another similar question about dynamic texture blend modes here:

Many thanks.
Tawibox

Heya, they’re multiplied but you can change this behavior with a material plugin. Here’s a simple one I made recently that implements a custom blend mode between the albedo color and albedo texture… On lines 44 and 47 is where the blending happens. :slight_smile:

3 Likes