#Modify settings on an emission material from Blender at runtime?

3 messages · Page 1 of 1 (latest)

wicked oxide
#

Hey errybody, I'm currently using an emission material paired with a solidify modifier to create this kind of glowing outline effect on my character.

This exports no problem and renders correctly inside of Three, but what I'm wondering is if there's a way to modify the colour of the emission material at runtime via my code?

grizzled anvil
#

material.emissive.set("hotpink")

#

material.emissiveIntensity = 2