Not sure what “samples” means in terms of the shadow FX effect in Phaser 3.
samples
: The number of samples that the shadow effect will run for. An integer between1
and12
.
Not sure what “samples” means in terms of the shadow FX effect in Phaser 3.
samples
: The number of samples that the shadow effect will run for. An integer between1
and12
.
The effect samples (reads) the source texture and makes a dark fill in a similar shape. The overlapping fills make the shadow. More samples give it a soft gradient that looks better but also takes longer.