Hello,
I have got zerobranestudio integrated and now I am trying to do some nice lua scripting but when I try to call renderpath SetShaderParameter from lua, it either passes garbage or null
Garbage:
renderPath:SetShaderParamter (“ShaderParameter”, Variant (0.2))
Null:
renderPath:SetShaderParamter (“ShaderParameter”, 0.2)
I even tried to allocate a Variant on the stack (local value = Variant (0.2), renderPath:…) but it still passes garbage value.
Any idea how to fix this?
Thanks.