From 403a8a8656407a812d95bf3e4f0a6d4832bb2218 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sun, 3 May 2020 03:14:38 +1000 Subject: [PATCH] ocio: change lut edge size to 64 instead of 32 Doesn't "solve" the white inaccuracy issue, but does mitigate it somewhat. Also improves accuracy across the board. --- app/render/backend/opengl/openglshader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/render/backend/opengl/openglshader.cpp b/app/render/backend/opengl/openglshader.cpp index 21ff57752..ff75ad189 100644 --- a/app/render/backend/opengl/openglshader.cpp +++ b/app/render/backend/opengl/openglshader.cpp @@ -41,7 +41,7 @@ OpenGLShaderPtr OpenGLShader::CreateDefault(const QString &function_name, const } // copied from source code to OCIODisplay -const int OCIO_LUT3D_EDGE_SIZE = 32; +const int OCIO_LUT3D_EDGE_SIZE = 64; // copied from source code to OCIODisplay, expanded from 3*LUT3D_EDGE_SIZE*LUT3D_EDGE_SIZE*LUT3D_EDGE_SIZE const int OCIO_NUM_3D_ENTRIES = 3*OCIO_LUT3D_EDGE_SIZE*OCIO_LUT3D_EDGE_SIZE*OCIO_LUT3D_EDGE_SIZE;