0 votes

Hi! I have a question about the World Environment. I use a lot of shaders in my 3D game, and I also use glow and other World Environment effects. I have a shader that removes colors from the game, but wherever the glow is applied, the colors come back. To me, this indicates that the glow Godot uses isn't applied on the rendered frame (a viewport), but instead is a quad with a shader applied to it. Does anyone know if this is the case? Any workaround suggestions are highly appreciated!

Godot version 3.2.3
in Engine by (63 points)

Screenshot please. I think, I know what this is. Godot uses material color not fragment(pixel) color for the Glow. Do you have some kind of colored halo or aura-like effect around the objects?

1 Answer

0 votes

It looks like there is two types of effects in World Environment Viewport effect and Camera effect. Can't tell which one Glow is my C++ is not very good. Try to find yourself.

https://github.com/godotengine/godot/blob/3.2.3-stable/scene/3d/world_environment.cpp

https://github.com/godotengine/godot/blob/3.2.3-stable/scene/resources/environment.cpp

by (846 points)

Thanks! I'll take a look

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.