got rid of star flag in shaders, replaced it with a mechanism to generate shaders depending on the number of stars in the starsystem.  now no extra calculations.