From e770120f7d2cde3025721d76f710aecff560833f Mon Sep 17 00:00:00 2001 From: Onek8 Date: Fri, 6 Jun 2025 06:46:55 +0000 Subject: [PATCH] Update leenkx/blender/lnx/write_data.py --- leenkx/blender/lnx/write_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leenkx/blender/lnx/write_data.py b/leenkx/blender/lnx/write_data.py index 79f0358..3716770 100644 --- a/leenkx/blender/lnx/write_data.py +++ b/leenkx/blender/lnx/write_data.py @@ -780,13 +780,13 @@ const vec3 compoLetterboxColor = vec3(""" + str(round(rpdat.lnx_letterbox_color[ if rpdat.lnx_sharpen: f.write( """const float compoSharpenStrength = """ + str(round(rpdat.lnx_sharpen_strength * 100) / 100) + """; +const float compoSharpenSize = """ + str(round(rpdat.lnx_sharpen_size * 100) / 100) + """; +const vec3 compoSharpenColor = vec3(""" + str(round(rpdat.lnx_sharpen_color[0] * 100) / 100) + """, """ + str(round(rpdat.lnx_sharpen_color[1] * 100) / 100) + """, """ + str(round(rpdat.lnx_sharpen_color[2] * 100) / 100) + """); """) 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 compoSharpenSize = """ + str(round(rpdat.lnx_sharpen_size * 100) / 100) + """; -const vec3 compoSharpenColor = vec3(""" + str(round(rpdat.lnx_sharpen_color[0] * 100) / 100) + """, """ + str(round(rpdat.lnx_sharpen_color[1] * 100) / 100) + """, """ + str(round(rpdat.lnx_sharpen_color[2] * 100) / 100) + """); """) if rpdat.lnx_fog: