What are the differences between the two pictures?

Hi~All
Rain
↑ This picture comes from The Texture Library | Babylon.js Documentation

↑ This picture is just wiped with an eraser in Photoshop
Switch particleTexture with two pictures and you can see the obvious difference.I found that modifying the blendMode can solve the problem. But I wonder why the original picture seems OK.I didn’t see the difference between them :thinking:
test pg: https://playground.babylonjs.com/#0K3AQ2#3

might be that one is premultiplied on alpha meaning the color is black where you have alpha vs a none premultiplied, the color would be white where you have alpha.

1 Like

WOW ! I never thought PNG have two kinds of alpha. straight alpha and premultiplied alpha. :kissing_heart:

1 Like