forked from LeenkxTeam/LNXSDK
Merge pull request 'Update' (#24) from Onek8/LNXSDK:main into main
Reviewed-on: LeenkxTeam/LNXSDK#24
This commit is contained in:
commit
2b9baef712
@ -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
|
||||||
|
|
||||||
|
@ -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])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user