1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 13:20:35 +00:00

cloud blending now as before (0 -> 0.25 -> 1)

This commit is contained in:
scrawl 2013-02-04 19:21:47 +01:00
parent a7d910614f
commit e949765922

View File

@ -14,7 +14,7 @@
{
shOutputPosition = shMatrixMult(wvp, shInputPosition);
UV = uv0;
alphaFade = shInputPosition.z < 100.f ? 0 : 1;
alphaFade = (shInputPosition.z <= 200.f) ? ((shInputPosition.z <= 100.f) ? 0.0 : 0.25) : 1.0;
}
#else