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
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
Torque 3D Owner Andy Wright
BrokeAss Games
Emissive will make it ignore any lighting and remain at full diffuse colour. Glow will make it glow...