I am trying to change the color of the mist using python somehow. I have scoured the api’s and google and think that the following python functions should do the job.
render.setBackgroundColor([1,1,1,1]) render.setMistStart(0.0) render.setMistEnd(200.0) render.setMistColor([1,1,1])
But it doesn’t. The mist doesn’t change at all. I’m a little bit lost with this. I’m working in GLSL and the couple of examples of setting mist color I found on BA, only worked in multitexture mode. I’m currently looking into using a GLSL shader to handle the mist, but I was wondering if anyone was having luck with the functions above, using the bge api.