GLShader: Use floating point values to interact with vectors
Signed-off-by: Victoria Fischer <victoria.fischer@mbition.io>
This commit is contained in:
parent
7b64433830
commit
6cac17aac0
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ QByteArray ShaderManager::generateFragmentSource(ShaderTraits traits) const
|
|||
stream << " result.rgb = pqToNits(result.rgb);\n";
|
||||
stream << " result.rgb *= result.a;\n";
|
||||
stream << " } else if (sourceNamedTransferFunction == scRGB_EOTF) {\n";
|
||||
stream << " result.rgb *= 80;\n";
|
||||
stream << " result.rgb *= 80.0;\n";
|
||||
stream << " }\n";
|
||||
stream << " result.rgb = doTonemapping(colorimetryTransform * result.rgb, maxHdrBrightness);\n";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue