Shader fixes for Delta Touch.
This commit is contained in:
parent
fd5b31b2b2
commit
df55aa4cc7
8 changed files with 40 additions and 40 deletions
|
|
@ -3,5 +3,5 @@ vec4 ProcessTexel()
|
|||
{
|
||||
vec3 eyedir = normalize(uCameraPos.xyz-pixelpos.xyz);
|
||||
vec3 norm = reflect(eyedir,normalize(vWorldNormal.xyz));
|
||||
return getTexel(norm.xz*0.5+0.5);
|
||||
return getTexel(norm.xz*.5+.5);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue