
Coding Adventure: Ray Tracing
I tried creating a custom ray/path tracing renderer. Featuring: maths, shaders, and cats!
This project was written in C# and HLSL, and uses the Unity game engine.
Source Code: currently in early-access for patrons, but will be available to everyone in a few weeks.
Support the channel: https://www.patreon.com/SebastianLague
Coding Adventures Playlist: https://youtube.com/playlist?list=PLFt_AvWsXl0ehjAfLFsp1PGaatzAwo0uK
Learning Resources:
https://raytracing.github.io
https://blog.demofox.org/2020/05/25/casual-shadertoy-path-tracing-1-basic-camera-diffuse-emissive/
Music Credits:
https://github.com/SebLague/Misc-Project-Info/blob/main/Coding%20Adventures/Ray%20Tracing%20Credits.txt
Chapters:
0:00 Intro
1:08 Cameras and Rays
3:30 The Pixel Shader
5:02 Drawing a Sphere
6:59 Multiple Spheres, and Colour!
8:21 Two Types of Reflections
9:04 Experimenting with Randomness
11:14 Random Hemisphere Directions
14:11 The Trace Function
16:35 Testing Lights
17:55 Chair Thief
18:23 Progressive Rendering
19:54 A Simple Sky
20:49 Lambert’s Cosine Law
22:47 Cosine Weighted Rays
22:36 Triangles
24:52 Some Tests
27:14 Specular Reflections
29:59 Tomatoes and Glossiness
31:57 Blur and Anti-Aliasing
34:42 Depth of Field
37:14 The End








![[2D 게임 개발 꿀팁 시리즈] 모바일 성능과 쓰로틀링](https://img.youtube.com/vi/z0bkXem0g7o/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 게임에 3D 오브젝트 쉽게 사용하는 방법](https://img.youtube.com/vi/8ytJW1I6Agg/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 메모리 절약 스프라이트 5가지](https://img.youtube.com/vi/-cxbULpRSXE/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 최적화](https://img.youtube.com/vi/zMMACezlItM/hqdefault.jpg)


![Cards: Tidy Up! [Demo Out Now]](https://img.youtube.com/vi/6DDIfmMYYFs/hqdefault.jpg)
![[2D 게임 개발 꿀팁 시리즈] 2D 배칭 조건](https://img.youtube.com/vi/5DstF95ojw0/hqdefault.jpg)







![[2D 게임 개발 꿀팁 시리즈] 2D 게임 그림자 성능](https://img.youtube.com/vi/yMrlutMnhpc/hqdefault.jpg)












![[2D 게임 개발 꿀팁 시리즈] 2D 배칭](https://img.youtube.com/vi/0HO_7fwC_6A/hqdefault.jpg)


































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




































































