summaryrefslogtreecommitdiffstats
path: root/Studio/Content/Material Library/copper.shader
diff options
context:
space:
mode:
Diffstat (limited to 'Studio/Content/Material Library/copper.shader')
-rw-r--r--Studio/Content/Material Library/copper.shader2
1 files changed, 1 insertions, 1 deletions
diff --git a/Studio/Content/Material Library/copper.shader b/Studio/Content/Material Library/copper.shader
index 5f407def..cf9e1ad4 100644
--- a/Studio/Content/Material Library/copper.shader
+++ b/Studio/Content/Material Library/copper.shader
@@ -153,7 +153,7 @@ void computeTemporaries()
vec4 computeLayerWeights( in float alpha )
{
vec4 color;
- color = fresnelLayer( normal, vec3( 25.65, 25.65, 25.65 ), 1.000000, vec4( metal_color, 1.0).rgb, layers[0].layer, layers[0].base, alpha );
+ color = fresnelLayer( normal, vec3( 25.65, 25.65, 25.65 ), 1.000000, metal_color.rgb, layers[0].layer, layers[0].base, alpha );
return color;
}