Self iluminated objects

Hey Guys,

Does anybody know if light still affect a mesh object if this shader (iPhone/Self-Illumin/Vertexlit) is apply to that object.
I currently have one light in the scene, and I don’t want it to affect the environment, but only the main character. I’ve applied the (iPhone/Self-Illumin/Vertexlit) shader to the environment, but not sure if the light is still affecting the environment or not. Even if the light is on does it have any impact on a self Illuminated object.

Hopefully my explanation is not confusing.
Thanks in Advanced.

Kue

You should use layers to make the light only affect the character (which would be on its own layer), and ignore everything else on any other layers.

–Eric

Hey Eric, I’ve used the layer method you mention and works great.
One other question is that, are layers only for working in the editor or does it carry over at build time?

Kue

They carry over to build / runtime

Thanks dreamora, and thank you everyone for your help.

Appreciated!:slight_smile: