-fixed relative path saving to file, fixes #1694
This commit is contained in:
parent
170a9349d2
commit
a5cbfbbcbb
3 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue