First try, it does not work.
Second try, I add a light in the scene and it works.
Second try bis: hey! when the light (which is animated) gets out of the frustum, the model is no longer rendered in wireframe mode?!?
Wireframe mode shades the object in exactly the same way as solid mode, it just only renders the wireframe instead. It doesn't suddenly disregard lights or other effects, so that's why if you can't see your object in solid mode because it's dark, you ain't gonna see it when it's wireframe either.
If you want you can change the material on the entity to one which has lighting disabled if you want to see it even in the dark.
Second try bis: hey! when the light (which is animated) gets out of the frustum, the model is no longer rendered in wireframe mode?!?
You probably set a short range on the light and it's sphere of influence excluded the object. Lights will 'wink out' if you don't set their attenuation falloffs to match the maximum range.
sinbad wrote:Wireframe mode shades the object in exactly the same way as solid mode, it just only renders the wireframe instead. It doesn't suddenly disregard lights or other effects, so that's why if you can't see your object in solid mode because it's dark, you ain't gonna see it when it's wireframe either.
If you want you can change the material on the entity to one which has lighting disabled if you want to see it even in the dark.
Second try bis: hey! when the light (which is animated) gets out of the frustum, the model is no longer rendered in wireframe mode?!?
You probably set a short range on the light and it's sphere of influence excluded the object. Lights will 'wink out' if you don't set their attenuation falloffs to match the maximum range.
You are right. It has nothing to do with the light going out the frustum but the light being behind the object so its edges are just colored with ambient (~ black) on a ~black background with a monitor with a bad gamma (= dark)
This said, I attach a screenshot of shadow on a wireframe model. Interesting... (I admit is is a pathological case ).