1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 02:19:41 +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