Fix T77686: EEVEE environment pass with film transparency

When the film is set to transparent the environment pass should still be
rendered solid. otherwise it renders black.

Reviewed By: Clément Foucault

Differential Revision: https://developer.blender.org/D8046
This commit is contained in:
Jeroen Bakker
2020-07-02 11:19:12 +02:00
committed by Jeroen Bakker
parent 945d0269e3
commit ba2c039b05
4 changed files with 19 additions and 11 deletions

View File

@@ -94,6 +94,7 @@ layout(std140) uniform renderpass_block
bool renderPassGlossyLight;
bool renderPassEmit;
bool renderPassSSSColor;
bool renderPassEnvironment;
};
vec3 render_pass_diffuse_mask(vec3 diffuse_color, vec3 diffuse_light)