
God Rays in 3D Pixel Art Game Engine
Date of Recording: 2021-01-23
Using the light-space shadow map of the sun, I can project some quads on the scene to compute sunbeams (god rays) with just some texture sampling, without the need to do any raycasting or raytracing. This effect can then be modulated by the camera angle, time of day, and rain density, to create some pretty nice atmospheric effects. Hard edges on the rays helps to preserve the crisp, pixel art aesthetic.





![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 게임 개발 꿀팁 시리즈] 2D 게임 최적화 팁](https://img.youtube.com/vi/Rw2u-ScXN4I/hqdefault.jpg)


































![[2D 게임 개발 꿀팁 시리즈] 2D 애니메이션](https://img.youtube.com/vi/lStxewSNxNA/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)




































































































































































































































































































































































































































