Hi again. I'm trying to use a light that can bath every mesh in the light's color, so that i can make a texture simulation of the time of the day (morning, afternoon and night) with only one set of textures.
For example i want to put a dark blue/purple light so that my scene looks like it's night in my game.
I'm currently using a light with global illumination (without an ambient light)and color bleeding.
I'm only selecting the floor's mesh (using the selection option instead of the all option).
What could i do to be able to do something like that?[/i]
How to put a color light in irrEdit
You could use the scene manager's ambient light setting and alter it in code as the sun moves through the sky. Try this code for a complete day/night cycle.
-
- Posts: 30
- Joined: Wed Sep 10, 2008 9:04 pm