Forum

[SOLVED] Glow for marerial based via api?

10 November 2016 12:37 #13693
Hi guys.
Cam make a b4w_glow_output via api to one material?, thx.
Any example please?.
10 November 2016 15:10 #13706
Hi!
You can make a node structure like this one:


Having this, you can control the Value node through API in the following manner:
material.set_nodemat_value(obj, ["My_cool_material","Value" ], 0.1)
Blend4Web developer
11 November 2016 15:10 #13763
Reply to post of user Evgeny Rodygin
Hi!
You can make a node structure like this one:


Having this, you can control the Value node through API in the following manner:
set_nodemat_value(obj, ["My_cool_material","Value" ], 0.1)

Thanks!! :D this work fine.
 
Please register or log in to leave a reply.