How to add glowing shadow effect on texture image

i have an image in texture i want to add filter: drop-shadow ; like css

here is my code "
const texture32 = textureLoader.load(‘assets/images/particale2.png’);
const material32 = new THREE.MeshBasicMaterial({ map:texture32, transparent: true, alphaTest: 0 });
const box32 = new THREE.Mesh(geometry, material32);

group.add(box32);"

There are a few ways to approach this, but none are as simple as CSS/drop-shadow :slight_smile:

One way is to draw the texture to another framebuffer and perform the dropshadow/blur as a shader.

Another way is to use post processing, and unrealbloom to simulate real glow, and use a material with an emissive color. This has the benefit of enabling you to make other objects in your scene glow and blend with other objects.

https://threejs.org/examples/?q=unrea#webgl_postprocessing_unreal_bloom

https://threejs.org/examples/?q=unrea#webgl_postprocessing_unreal_bloom_selective