forked from LeenkxTeam/LNXSDK
Update leenkx/blender/lnx/material/cycles_nodes/nodes_shader.py
This commit is contained in:
@ -250,7 +250,7 @@ def parse_bsdfglass(node: bpy.types.ShaderNodeBsdfGlass, out_socket: NodeSocket,
|
||||
c.write_normal(node.inputs[3])
|
||||
state.out_roughness = c.parse_value_input(node.inputs[1])
|
||||
if state.parse_opacity:
|
||||
state.out_opacity = '0.1'
|
||||
state.out_opacity = '1.0'
|
||||
state.out_ior = c.parse_value_input(node.inputs[2])
|
||||
|
||||
|
||||
@ -270,7 +270,7 @@ def parse_bsdfrefraction(node: bpy.types.ShaderNodeBsdfRefraction, out_socket: N
|
||||
c.write_normal(node.inputs[3])
|
||||
state.out_roughness = c.parse_value_input(node.inputs[1])
|
||||
if state.parse_opacity:
|
||||
state.out_opacity = '0.0'
|
||||
state.out_opacity = '1.0'
|
||||
state.out_ior = c.parse_value_input(node.inputs[2])
|
||||
|
||||
def parse_subsurfacescattering(node: bpy.types.ShaderNodeSubsurfaceScattering, out_socket: NodeSocket, state: ParserState) -> None:
|
||||
|
Reference in New Issue
Block a user