GPUMaterial: Make background not transparent
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user