Merge pull request 'Update' (#24) from Onek8/LNXSDK:main into main

Reviewed-on: #24
This commit is contained in:
LeenkxTeam 2025-04-03 20:57:15 +00:00
commit 2b9baef712
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ uniform sampler2D sveloc;
void main() { void main() {
const vec2 pixel = gl_GlobalInvocationID.xy; const vec2 pixel = gl_GlobalInvocationID.xy;
vec2 uv = (pixel + 0.5) / postprocess_resolution; vec2 uv = (pixel + 0.5) / postprocess_resolution;
#ifdef _InvY #ifdef _InvY;
uv.y = 1.0 - uv.y uv.y = 1.0 - uv.y
#endif #endif

View File

@ -246,7 +246,7 @@ def parse_bsdfglass(node: bpy.types.ShaderNodeBsdfGlass, out_socket: NodeSocket,
c.write_normal(node.inputs[3]) c.write_normal(node.inputs[3])
state.out_roughness = c.parse_value_input(node.inputs[1]) state.out_roughness = c.parse_value_input(node.inputs[1])
if state.parse_opacity: if state.parse_opacity:
state.out_opacity = '0.0' state.out_opacity = '0.1'
state.out_ior = c.parse_value_input(node.inputs[2]) state.out_ior = c.parse_value_input(node.inputs[2])