# HDR Bloom effect?

**URL:** <https://discourse.threejs.org/t/hdr-bloom-effect/226>\
**Category:** Questions\
**Tags:** post-processing\
**Created:** [April 22, 2017, 10:47am UTC](https://discourse.threejs.org/t/hdr-bloom-effect/226 "2017-04-22T10:47:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![korner](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@korner](https://discourse.threejs.org/u/korner)\
**Post date:** [April 22, 2017, 10:47am UTC](https://discourse.threejs.org/t/hdr-bloom-effect/226/1 "2017-04-22T10:47:34Z")

</div>

Hi guys! I recently posted a question: [http://stackoverflow.com/questions/43544976/three-js-hdr-bloom](http://stackoverflow.com/questions/43544976/three-js-hdr-bloom)

Is this possible in theory? Are there any ways?

It comes to mind about creating a new scene and re-rendering the necessary objects, but it seems to me stupid)) it might be better to somehow get the brightness value from all the shaders.

I want to create something like this: [http://dt-byte.ru/fc87d432.png](http://dt-byte.ru/fc87d432.png)  
Thank you.

---

<div class="post-metadata">

**Author:** ![looeee](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/looeee/32/59_2.png) [@looeee](https://discourse.threejs.org/u/looeee)\
**Post date:** [April 22, 2017, 12:41pm UTC](https://discourse.threejs.org/t/hdr-bloom-effect/226/2 "2017-04-22T12:41:34Z")

</div>

> But this is not exactly what I need, I can not properly adjust the glow, for example, for effects, it’s necessary that they brightly shine

Can you explain a little more clearly what you want to achieve? In the HDR Bloom that you linked there are 4 adjustable parameters, and between them you can adjust the brightness of the bloom effect until the whole scene is just a glow - as far as I can see it should be possible to emulate the image you linked with this effect.

---

<div class="post-metadata">

**Author:** ![korner](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@korner](https://discourse.threejs.org/u/korner)\
**Post date:** [April 22, 2017, 2:11pm UTC](https://discourse.threejs.org/t/hdr-bloom-effect/226/3 "2017-04-22T14:11:40Z")

</div>

I want to highlight only the particles in the scene and can some elements, for example a flashlight or spotlight.

Any object can have the intensity of the light being exposed 1, the sun 1000, the flashlight 100, and so on.  
For example, particles may have a brightness range of 1 to 1000.

The easiest option I thought was to somehow write the intensity of each pixel’s radiation to the buffer.

Shader example:

```
float Intensity = 100.0;
vec3 color = vec3(1,0,1);

//Somehow transfer from the shader to the buffer and then somewhere to process
varying pixelIntensity = color * Intensity;

```

Then having the buffer it is possible to make one more render in a texture or directly from the buffer to transfer in (unreal\_bloom) as a source of brightness which need to be processed.
