Glow effect in 3D not visible from bigger distance

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By geigi
:warning: Old Version Published before Godot 3 was released.

Hey everyone,

I’m trying to create blinking lights on the top of a skyscraper and I’m using Godots built-in glow with a World Environment for this effect. But the effect is only visible from close distance:

Near distance
Far distance

Is there a way to change this behaviour or an other way to create this effect?
Cheers :slight_smile:

:bust_in_silhouette: Reply From: Zylann

I think that the glowing effect is calculated in screen-space by an internal shader, on a downscaled version of the game’s rendered image, and in order to work it needs enough pixels to produce a glow. It could be that your “light” is too small, I see it’s only 2 pixels. So in the downscaled glow buffer, that pixel doesn’t appear at all and you get no glow.

You could fix it by increasing the size of the glow buffer in project settings/rasterizer (I think it’s called luminance buffer size), but that’s a bit expensive on low-end devices.
Instead, I would make an additive (screen-space?) billboard centered around the light, so you have more control on how it looks and when it fades.

Thanks man for your input! I will try it in the next weeks and mark your answer, I currently don’t have time for the project…

geigi | 2017-02-13 12:43

Found some time today, looks awesome with the billboard! Cheers Zylann :slight_smile:

geigi | 2017-02-17 11:51