Shader fixes for Delta Touch.

This commit is contained in:
Marisa the Magician 2023-11-29 19:36:38 +01:00
commit df55aa4cc7
8 changed files with 40 additions and 40 deletions

View file

@ -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);
}