mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
apply consistent colorspace to cubemaps
This commit is contained in:
parent
f5bab3f574
commit
d484a1a46e
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ void CubemapData::updateFaces()
|
||||||
{
|
{
|
||||||
if (!mCubeFaceFile[i].isEmpty())
|
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;
|
initSuccess = false;
|
||||||
Con::errorf("CubemapData::createMap - Failed to load texture '%s'", mCubeFaceFile[i].c_str());
|
Con::errorf("CubemapData::createMap - Failed to load texture '%s'", mCubeFaceFile[i].c_str());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue