20 lines
872 B
Python
20 lines
872 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class LenstextureSetNode(ArmLogicTreeNode):
|
|
"""Use to set the lens texture settings."""
|
|
bl_idname = 'LNLenstextureSetNode'
|
|
bl_label = 'Set Lenstexture'
|
|
arm_version = 1
|
|
|
|
def init(self, context):
|
|
super(LenstextureSetNode, self).init(context)
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('NodeSocketFloat', 'Center Min Clip', default_value=0.1)
|
|
self.add_input('NodeSocketFloat', 'Center Max Clip', default_value=0.5)
|
|
self.add_input('NodeSocketFloat', 'Luminance Min', default_value=0.10)
|
|
self.add_input('NodeSocketFloat', 'Luminance Max', default_value=2.50)
|
|
self.add_input('NodeSocketFloat', 'Brightness Exponent', default_value=2.0)
|
|
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|
|
|
|
add_node(LenstextureSetNode, category=PKG_AS_CATEGORY)
|