Original Post
I have models of a car,earth,sun and sky.. In Drawsun function,I have wrote red color just before creating the sun.. When I am calling this function before Drawcar or Draw earth or draw sky..I am getting the red color of sun on the car sometimes on earth and and sometimes for all objects in the scene.. Please give me a solution for this problem