Shader fixes for Delta Touch.
This commit is contained in:
parent
fd5b31b2b2
commit
df55aa4cc7
8 changed files with 40 additions and 40 deletions
|
|
@ -1,6 +1,6 @@
|
|||
void SetupMaterial( inout Material mat )
|
||||
{
|
||||
mat.Base = texture(scrtex,vec2(vTexCoord.s,1.-vTexCoord.t));
|
||||
mat.Base = vec4(texture(scrtex,vec2(vTexCoord.s,1.-vTexCoord.t)).rgb,1.);
|
||||
mat.Normal = ApplyNormalMap(vTexCoord.st);
|
||||
mat.Bright = vec4(1.);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue