SpriteMaterial + alphaMap?

Is alphaMap available with SpriteMaterial?
If not, how can we mask a Sprite / SpriteMaterial?

No, SpriteMaterial does not support alphaMap. Hence, masking is currently not possible. You have to write a custom sprite/billboard shader for this. Or consider to use Material.onBeforeCompile() to extend the built-in shader. The following example shows the usage of this callback:


1 Like

Thanks @Mugen87.