mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
apply consistent colorspace to cubemaps
This commit is contained in:
parent
f5bab3f574
commit
d484a1a46e
|
|
@ -146,7 +146,7 @@ void CubemapData::updateFaces()
|
|||
{
|
||||
if (!mCubeFaceFile[i].isEmpty())
|
||||
{
|
||||
if (!mCubeFace[i].set(mCubeFaceFile[i], &GFXStaticTextureProfile, avar("%s() - mCubeFace[%d] (line %d)", __FUNCTION__, i, __LINE__)))
|
||||
if (!mCubeFace[i].set(mCubeFaceFile[i], &GFXStaticTextureSRGBProfile, avar("%s() - mCubeFace[%d] (line %d)", __FUNCTION__, i, __LINE__)))
|
||||
{
|
||||
initSuccess = false;
|
||||
Con::errorf("CubemapData::createMap - Failed to load texture '%s'", mCubeFaceFile[i].c_str());
|
||||
|
|
|
|||
Loading…
Reference in a new issue