t3du - Post Process Updates
This commit is contained in:
@ -785,6 +785,8 @@ const vec3 compoLetterboxColor = vec3(""" + str(round(rpdat.lnx_letterbox_color[
|
|||||||
if lnx.utils.get_active_scene().view_settings.exposure != 0.0:
|
if lnx.utils.get_active_scene().view_settings.exposure != 0.0:
|
||||||
f.write(
|
f.write(
|
||||||
"""const float compoExposureStrength = """ + str(round(lnx.utils.get_active_scene().view_settings.exposure * 100) / 100) + """;
|
"""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:
|
if rpdat.lnx_fog:
|
||||||
|
Reference in New Issue
Block a user