LNXSDK/leenkx/blender/lnx/logicnode/postprocess/LN_set_ssr_settings.py
2025-01-22 16:18:30 +01:00

18 lines
722 B
Python

from lnx.logicnode.lnx_nodes import *
class SSRSetNode(LnxLogicTreeNode):
"""Set the SSR post-processing settings."""
bl_idname = 'LNSSRSetNode'
bl_label = 'Set SSR Settings'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxFloatSocket', 'SSR Step', default_value=0.04)
self.add_input('LnxFloatSocket', 'SSR Step Min', default_value=0.05)
self.add_input('LnxFloatSocket', 'SSR Search', default_value=5.0)
self.add_input('LnxFloatSocket', 'SSR Falloff', default_value=5.0)
self.add_input('LnxFloatSocket', 'SSR Jitter', default_value=0.6)
self.add_output('LnxNodeSocketAction', 'Out')