mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 06:22:10 +02:00
Another stupid android shader compilation error fix
This commit is contained in:
parent
de2f1c52cc
commit
cd89ce5388
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ vec2 evalTapWeightedValue(vec3 blurScales, ivec4 side, int r, vec2 occlusionTexC
|
||||||
#else
|
#else
|
||||||
float normalDistance = 0.0;
|
float normalDistance = 0.0;
|
||||||
#endif
|
#endif
|
||||||
float weight = evalBlurCoefficient(blurScales, abs(r), zDistance, normalDistance);
|
float weight = evalBlurCoefficient(blurScales, float(abs(r)), zDistance, normalDistance);
|
||||||
|
|
||||||
return vec2(tap.occlusion * weight, weight);
|
return vec2(tap.occlusion * weight, weight);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue