Fixed that the default shader didn't read the texture
This commit is contained in:
parent
2e7051d800
commit
311039d8ae
1 changed files with 2 additions and 2 deletions
|
|
@ -24,6 +24,6 @@ uniform sampler2D Texture;
|
||||||
layout(location = 0) out vec4 color;
|
layout(location = 0) out vec4 color;
|
||||||
|
|
||||||
void fmain() {
|
void fmain() {
|
||||||
color = vColor;
|
color = vColor * Tint;
|
||||||
//if (UseTexture) color *= texture(Texture, vTexture);
|
if (UseTexture) color *= texture(Texture, vTexture);
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue