Remember me
You are here: HomeForumCyberix3D ForumExamplesDay And Night Example
Welcome, Guest
Username: Password: Remember me

TOPIC: Day And Night Example

Day And Night Example 3 years 4 months ago #2542

  • cyberix3d
  • cyberix3d's Avatar
  • OFFLINE
  • Administrator
  • Posts: 661
  • Thank you received: 630
Hello,
You can implement a Day/Night mechanism by using a rotating light + texture alpha for the sky.
You can put two cubes, one with night texture and one with day textures, and play with the alpha according to the sun's position.
Here is an example:
www.gamemaker3d.com/player?pid=01657138

night.jpg


day.jpg


Regards,
Cyberix3D team
The administrator has disabled public write access.
The following user(s) said Thank You: ViraX, Symbiotic Interactives
Time to create page: 0.401 seconds