mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:37:48 +02:00
Again, android shader compilatio fix
This commit is contained in:
parent
c79c403a52
commit
851cfff960
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ vec3 buildPosition(ivec4 side, vec2 fragUVPos) {
|
||||||
|
|
||||||
<@func buildPositionOffset(side, fragUVPos, sideFragUVPos, texelOffset, deltaUV, position)@>
|
<@func buildPositionOffset(side, fragUVPos, sideFragUVPos, texelOffset, deltaUV, position)@>
|
||||||
{
|
{
|
||||||
float Zeye = <$getZEyeAtUVOffset($sideFragUVPos$, 0, $texelOffset$)$>
|
float Zeye = <$getZEyeAtUVOffset($sideFragUVPos$, 0.0, $texelOffset$)$>
|
||||||
<$position$> = evalEyePositionFromZeye(<$side$>.x, Zeye, <$fragUVPos$> + <$texelOffset$>*<$deltaUV$>);
|
<$position$> = evalEyePositionFromZeye(<$side$>.x, Zeye, <$fragUVPos$> + <$texelOffset$>*<$deltaUV$>);
|
||||||
}
|
}
|
||||||
<@endfunc@>
|
<@endfunc@>
|
||||||
|
|
Loading…
Reference in a new issue