16 lines
		
	
	
		
			564 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			564 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class SSAOSetNode(LnxLogicTreeNode):
 | |
|     """Set the SSAO post-processing settings."""
 | |
|     bl_idname = 'LNSSAOSetNode'
 | |
|     bl_label = 'Set SSAO Settings'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_input('LnxNodeSocketAction', 'In')
 | |
|         self.add_input('LnxFloatSocket', 'Radius', default_value=1.0)
 | |
|         self.add_input('LnxFloatSocket', 'Strength', default_value=5.0)
 | |
|         self.add_input('LnxIntSocket', 'Max Steps', default_value=8)
 | |
| 
 | |
|         self.add_output('LnxNodeSocketAction', 'Out')
 |