Game Development Community

Opt out of lighting

by Tyler Harris · in Torque 3D Professional · 02/02/2011 (8:10 pm) · 2 replies

I feel a little embarrassed to ask this question, because I know it is so basic. If, in answering it, there is clearly something I should have read somewhere, or some other resource I could have used to learn it with out bothering all of you, please, let me know.

I'm making a model of a solar system. Naturally, at the center, I have a sun, which is just a sphere with a pretty simple texture applied. Soon, I'd like to add some corona effects, etc, but for now, this is fine. I then light the scene with a point source located at the orgin of the sun.

The trouble is, the sun object doesn't light, because all of the normals are parallel to the vector from which the point source is. I know that I can just go into the model and reverse all of the normals, but it seems like there should be a way to opt an object out of lighting, and just always have it at full color. How would I do that?

Thanks!

--Tyler Harris

About the author

Recent Threads


#1
02/02/2011 (9:08 pm)
In the material editor find the suns texture, scroll down to the bottom of the options and tick "Emissive", you could also try ticking Glow for a different effect.

Emissive will make it ignore any lighting and remain at full diffuse colour. Glow will make it glow...
#2
02/02/2011 (11:23 pm)
Ah! Thank you so much. That makes a lot of sense.