RayTK Tutorial: Reflection & Backgrounds

This tutorial covers using reflective materials in a RayTK scene with background light maps and an atmosphere/sunset simulation.

Download the toolkit (version 0.15 or newer) at https://github.com/t3kt/raytk/releases.

Download a completed project file: https://github.com/t3kt/raytk/raw/master/examples/tutorial-reflection-v2a.toe

The atmosphereField is based on https://github.com/wwwtyro/glsl-atmosphere.

Sections:
0:00 Intro
0:11 Setup
0:31 Main SDF
2:25 Camera
2:59 Material
4:03 Reflection requirements
4:52 Secondary SDF
7:49 Cube map background
11:58 Atmosphere field
13:54 Composite fields
14:54 Render cleanup
16:36 Optimization
19:34 Recap
21:11 Outro

About The Author

You might be interested in