Reset the shader to fix the minimap
This commit is contained in:
parent
5633d217a6
commit
3cbac8e6ea
@ -28,7 +28,7 @@ void main()
|
||||
vec3 SpecularComponent = texture(specular_map, tc).xyz;
|
||||
|
||||
vec3 diffuse_color_for_mix = diffuseMatColor.xyz * 4.0;
|
||||
vec3 metallicMatColor = mix(vec3(0.04), diffuse_color_for_mix, metallicMapValue);
|
||||
vec3 metallicMatColor = mix(vec3(0.5), diffuse_color_for_mix, metallicMapValue);
|
||||
vec3 tmp = DiffuseComponent * mix(diffuseMatColor.xyz, vec3(0.0), metallicMapValue) + (metallicMatColor * SpecularComponent);
|
||||
|
||||
vec3 emitCol = diffuseMatColor.xyz + (diffuseMatColor.xyz * diffuseMatColor.xyz * emitMapValue * emitMapValue * 10.0);
|
||||
|
Loading…
Reference in New Issue
Block a user