forked from LeenkxTeam/LNXSDK
Update leenkx/blender/lnx/material/make_refract.py
This commit is contained in:
@ -58,6 +58,7 @@ def make(context_id):
|
|||||||
frag.write('fragColor[1] = vec4(n.xy, roughness, metallic);')
|
frag.write('fragColor[1] = vec4(n.xy, roughness, metallic);')
|
||||||
|
|
||||||
frag.write('fragColor[2] = vec4(ior, opacity, 0.0, 1.0);')
|
frag.write('fragColor[2] = vec4(ior, opacity, 0.0, 1.0);')
|
||||||
|
# frag.write('fragColor[2] = vec4(ior, opacity, packFloat2(basecol.r, basecol.g), basecol.b);')
|
||||||
|
|
||||||
make_finalize.make(con_refract)
|
make_finalize.make(con_refract)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user