1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Use middle gray instead of pure black as default fallback color (Fixes #2841)

This commit is contained in:
Capostrophic 2018-03-12 19:05:57 +03:00 committed by Capostrophic
parent 9b8c56761b
commit e4531a6910

View File

@ -53,7 +53,7 @@ namespace Fallback
{
std::string sum=getFallbackString(fall);
if(sum.empty())
return osg::Vec4f(0.f,0.f,0.f,1.f);
return osg::Vec4f(0.5f,0.5f,0.5f,1.f);
else
{
std::string ret[3];