-fixed relative path saving to file, fixes #1694

This commit is contained in:
Juan Linietsky 2015-04-18 16:33:31 -03:00
parent 170a9349d2
commit a5cbfbbcbb
3 changed files with 5 additions and 5 deletions

View file

@ -296,7 +296,7 @@ LIGHT_SHADER_CODE
}
highp vec4 s = shadow_matrix * highp vec4(point,0.0,1.0);
highp vec4 s = shadow_matrix * vec4(point,0.0,1.0);
s.xyz/=s.w;
su=s.x*0.5+0.5;
sz=s.z*0.5+0.5;