Rain effect. Particles in Unity 3D

Teaching materials for the school of programming. Part 9

Spoiler

Previous tutorials can be found here:





  1. Spaceship





  2. Dominoes





  3. Flappy bird





  4. Gravity room





  5. Platformer





  6. Trees (plugin SpeedTree)





  7. Modeling a house in SketchUp





  8. House in the woods









We continue to improve the project, which already has trees, a house and lighting that we have made. Today we will add the rain effect. This large block of lessons is the only one in the program. We try to avoid complex projects. For many, this will seem strange, because a truly worthwhile game with graphics, interesting characters, levels and mechanics can be done by breaking it down into many tasks that will be solved in the learning process. The result is a large, high-quality game project that is not ashamed to show.





When you do courses for students / adults, you build the program from the result, on the basis of a competency map, taking into account future tasks and the processes accompanying them that a person will meet at work. Therefore, for such an audience, we would choose a complex project architecture.





When doing courses for children, first of all, you go from emotional experience, take into account the psycho-physiological characteristics of a young age, the need for constant switching, etc.





An adult will come to the course to solve the problem facing him (employment, career growth, development of a hobby). It is always important for a child to feel comfortable, the environment and classes should become a motivating factor for him, because many will not yet have very developed willpower, and to go to classes because it is necessary - "well, that".





Let's move from words to deeds.





Execution order

In this lesson, we will consider several principles of working with a particle system, and create a rain effect.





. , .

, , 30 .





Rain, Dust Storm.





. , , , .





, , , , , , .





, ColorOverLifetime , .









.





, . , — , Stratched Billboard 2. MaxParticleSize, , .





, , .





, .





, , .





. , . . .





, . , , , . , . — .





.





, , , .

, .





, , . , , .

, Bursts .





, Color Over Lifetime. .





, — . Unity, .





Horizontal Billboard, .

. , .





!








All Articles