armory/blender/arm/logicnode/postprocess/LN_lenstexture_get.py

20 lines
686 B
Python
Raw Normal View History

import bpy
from bpy.props import *
from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class LenstextureGetNode(ArmLogicTreeNode):
'''Get Tonemapper Effect'''
bl_idname = 'LNLenstextureGetNode'
bl_label = 'Get Lenstexture'
2020-08-07 19:05:48 +02:00
bl_icon = 'NONE'
def init(self, context):
self.outputs.new('NodeSocketFloat', 'Center Min Clip')
self.outputs.new('NodeSocketFloat', 'Center Max Clip')
self.outputs.new('NodeSocketFloat', 'Luminance Min')
self.outputs.new('NodeSocketFloat', 'Luminance Max')
self.outputs.new('NodeSocketFloat', 'Brightness Exponent')
add_node(LenstextureGetNode, category=MODULE_AS_CATEGORY)