shader fix
This commit is contained in:
parent
a4c5baf5ad
commit
4c710ab044
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ void main()
|
|||
if (lambert > 1.0-HighlightSize) colour = HighlightColour;
|
||||
if (lambert < ShadowSize) colour = ShadowColour;
|
||||
if (dot(n,v) < OutlineWidth) colour = vec4(0,0,0,1);
|
||||
if (dot(n,v) < 0) colour = MidColour*texture2D(BaseMap, T);
|
||||
if (dot(n,v) < 0.0) colour = MidColour*texture2D(BaseMap, T);
|
||||
|
||||
gl_FragColor = colour;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue