Scene Gamma / Exposure

This commit is contained in:
2026-09-13 23:34:36 -07:00
parent 67d5e6b2c7
commit 73e4a0ad30
4 changed files with 23 additions and 3 deletions

View File

@ -1009,6 +1009,7 @@ const vec3 compoSharpenColor = vec3(""" + str(round(rpdat.lnx_sharpen_color[0] *
if lnx.utils.get_active_scene().view_settings.exposure != 0.0:
f.write(
"""const float compoExposureStrength = """ + str(round(lnx.utils.get_active_scene().view_settings.exposure * 100) / 100) + """;
const float compoGammaStrength = """ + str(round(lnx.utils.get_active_scene().view_settings.gamma * 100) / 100) + """;
""")
if rpdat.lnx_fog: