Make sure cloud_color has non-garbage alpha (no offense to 4.59e-41).

meow-7.2.2
Graham Linden 2019-05-03 10:33:30 -07:00
parent 944d36a62f
commit 6d13430d78
1 changed files with 3 additions and 1 deletions

View File

@ -707,7 +707,9 @@ void LLSettingsVOSky::applySpecial(void *ptarget)
shader->uniform4fv(LLShaderMgr::SUNLIGHT_COLOR, 1, sunDiffuse.mV);
shader->uniform4fv(LLShaderMgr::MOONLIGHT_COLOR, 1, moonDiffuse.mV);
shader->uniform4fv(LLShaderMgr::CLOUD_COLOR, 1, psky->getCloudColor().mV);
LLColor4 cloud_color(psky->getCloudColor(), 1.0);
shader->uniform4fv(LLShaderMgr::CLOUD_COLOR, 1, cloud_color.mV);
}
F32 g = getGamma();