Disable Lighting on a Single Model

The scene I’m making has one point light in it. I want that light to affect everything in the scene but one model. I want that model to be rendered with 100% brightness at all times (like if lighting is entirely turned off).

Does anyone know how to do this?

Welcome to the forums!

You can do this by calling setLightOff, like:

node.setLightOff(1)

The 1 is an override value, to override a setLight setting on a higher node. If you want to enable lights on a node below this node again, then you’ll need to call setLight on that node with an override value of 2.

Thanks a lot. That works perfectly.