Add leenkx/blender/lnx/logicnode/postprocess/LN_set_volumetric_fog_settings.py
This commit is contained in:
@ -0,0 +1,15 @@
|
|||||||
|
from lnx.logicnode.lnx_nodes import *
|
||||||
|
|
||||||
|
class VolumetricFogSetNode(LnxLogicTreeNode):
|
||||||
|
"""Set the volumetric fog post-processing settings."""
|
||||||
|
bl_idname = 'LNVolumetricFogSetNode'
|
||||||
|
bl_label = 'Set Volumetric Fog Settings'
|
||||||
|
lnx_version = 1
|
||||||
|
|
||||||
|
def lnx_init(self, context):
|
||||||
|
self.add_input('LnxNodeSocketAction', 'In')
|
||||||
|
self.add_input('LnxColorSocket', 'Color', default_value=[0.5, 0.6, 0.7, 1.0])
|
||||||
|
self.add_input('LnxFloatSocket', 'Amount A', default_value=0.25)
|
||||||
|
self.add_input('LnxFloatSocket', 'Amount B', default_value=0.50)
|
||||||
|
|
||||||
|
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user