GPUMaterial: Make background not transparent

This commit is contained in:
2017-05-07 14:28:13 +02:00
parent 0aa2a662b9
commit 104e6a7b8a

View File

@@ -3880,7 +3880,7 @@ void node_output_material(vec4 surface, vec4 volume, float displacement, out vec
void node_output_world(vec4 surface, vec4 volume, out vec4 result)
{
result = surface;
result = vec4(surface.rgb, 1.0);
}
void convert_metallic_to_specular(vec4 basecol, float metallic, float specular_fac, out vec4 diffuse, out vec4 f0)