TextureRenderer and LensFlare?


I've got another problem with this shiny engine :wink:

I created some spheres, the sun and a planet - the sun got a LensFlare effect.

Now i wanted to render this scene to a texture to map it to a sphere…

rendering the texture only once (just after creation) gives me totally damaged texture (so all textures on the planet renderer flat on the new texture?) and when i want to render it in the simpleRender() as I'm using SimpleGame my LensFlare effect does very strange things, it's stuck in the middle of the screen (I think it's the LensFlare effect for the non-moving TextureRenderer camera.

How do i project the LensFlare only to the moving/main camera?

or how is it projected to both cameras?