
Pixel Art Rain Shader
Date of Recording: 2020-11-30
Working on more environment systems, this time it's a rain effect. Selling the atmosphere of rain is a matter of layering together a bunch of individual effects:
1. streaks representing rain drops
2. splashes on all gently-sloped ground
3. spatter on the top edges of objects on screen
4. ripples in the water
5. mist blowing around the scene
6. randomized bobbing of the upward-facing leaves on trees
7. lightning flashes (with sharp shadows)
8. color grading
Most of the effects are built on the GPU using a few tiling/looping textures and a single post-processing draw call, obviating the need to compute particle effects on the CPU or transferring buffers between CPU and GPU memory, making it a very lightweight effect to compute. The downside is that the effect does not show well while the camera is rotating.





![1 DEV from EVERY COUNTRY makes a VIDEO GAME! [episode 1]](https://img.youtube.com/vi/xN-otEIg9Po/hqdefault.jpg)















![[게임 개발 일지 111] 검사 파티 이동 모션 찐막 수정 #게임 #1인개발 #indiedev](https://img.youtube.com/vi/-fniiRWyhj8/hqdefault.jpg)
















![[2D 게임 개발 꿀팁 시리즈] 스프라이트 아틀라스](https://img.youtube.com/vi/FHHm73vgABw/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 텍스처](https://img.youtube.com/vi/eXgMHUu9bls/hqdefault.jpg)








![[2D 게임 개발 꿀팁 시리즈] 2D 애니메이션 샘플](https://img.youtube.com/vi/-SQtbs9tyxw/hqdefault.jpg)













































![[2D 게임 개발 꿀팁 시리즈] Variant Sprite Atlas](https://img.youtube.com/vi/uWy9Rwv7DBs/hqdefault.jpg)



























![[2D 게임 개발 꿀팁 시리즈] Sprite Atlas 주의점](https://img.youtube.com/vi/TPOxYjsioqY/hqdefault.jpg)




















































































































































































































































































































































































