0

Working lamp : How to switch brightness

Is it possible to script a lamp object so the texture will switch to emmissive (full bright) when the lamp is switched on and switch back to non-emmisive when the lamp is switched off?

I have seen around scripts for controlling lights but nothing for changing a texture in an objects materials besides a slideshow set that uses extra materials as slots for calling preloaded textures.

10 comments

Please sign in to leave a comment.