Hi All,
I’m going through the tutorials for shading and am perplexed about a basic component. In the following basic shader
Shader "Tutorial/Basic" {
Properties {
_Color ("Main Color", Color) = (1,0.5,0.5,1)
}
SubShader {
Pass {
Material {
Diffuse [_Color]
}
Lighting On
}
}
}
the command “Main Color” doesn’t affect the shader itself does it? When I apply this shader to a new material, the default color of the material is white. so my question is, why define the color as (1,0.5,0.5,1) if the default color in the material starts at white? I’m sure there’s something I’m missing… Thanks for the help.
d