Graphics: Add gamma correction
This commit is contained in:
committed by
Jérôme Leclercq
parent
041be74b9d
commit
d40b8af68d
@@ -122,7 +122,7 @@ namespace Nz
|
||||
{
|
||||
TextureParams texParams;
|
||||
texParams.renderDevice = Graphics::Instance()->GetRenderDevice();
|
||||
texParams.loadFormat = PixelFormat::RGBA8; //< TODO: Re-enable gamma correction
|
||||
texParams.loadFormat = PixelFormat::RGBA8_SRGB;
|
||||
|
||||
auto CreateMaterialFromTexture = [&](std::shared_ptr<Texture> texture)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user