Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hellooo!

I've noticed something inconsistent with blend modes and layer clipping when setting up some shadows.

It looked like the Multiply blend mode was stronger when the layer was clipped (as in it's darker than if it's not clipped), so I did some testing and it seems like blend modes act weird if the layer texture has partial transparency and it's clipped.

Edit: In this example you can see that the clipped layer it's darker and the only different setting is the clipping.

(+1)

Hi, yeah it's awkward to manage partial transparency. The multiply blend mode in particular is awkward because atm it uses a custom shader specifically to handle partial transparency, but it's not perfect. 

I think i need to rework the layer blending to all use custom shaders that can take into account the backbuffer

(+1)

Don't stress too much, you're already doing an amazing work! I can't believe how far RahiTuber has come in a few months!

As a workaround, I've managed to kind of restore the un-clipped blend for my clipped shadows (using Multiply, I don't know if this approach would word for other blend modes) by reducing the layer's alpha by 75% (that's A:191 for anyone wondering) with the tint option.

(+1)

Btw, this one should now be fixed in the latest update ^^