Ray Tracing: Texture Mapping & Lighting @s0lly
Ray Tracing: Texture Mapping & Lighting  @s0lly
Uploaded June 2019 | Updated September 2026, 1 hour ago
This video demonstrates what I've learned so far from the book "Ray Tracing - The Next Week" by Peter Shirley.

In addition to what is presented in the book, I've implemented the ability to make lightsources themselves visible / invisible to the camera - allowing for a huge lightsource that isn't an eyesore on the scene.

Lighting definitely takes its toll on the engine and I'll need to do a lot of work on this one to understand how to improve the speed. Therefore, this video is a pre-planned demo with the camera on "rails".

I have however set up simple "record" and "play" features in C++ to allow me to create videos. OBS doesn't really work too well on long simulation runs!


Acknowledgements:

The ray tracer approach and code is based on that provided in the book "Ray Tracing in One Weekend" and its sequels by Peter Shirley. Highly recommended reading!

This was made using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili!

Music by Eric Skiff, song "All of Us" for the intro and "HHavok-main" for the main sequence. (Available at EricSkiff.com/music)

These great 8k planet & moon images were obtained from solarsystemscope.com/textures under the Attribution 4.0 International license (see here: creativecommons.org/licenses/by/4.0/)
Ray Tracing: Texture Mapping & Lighting2D Game Engine in C++: [9] Bounding BoxesFirst Games in C++: Dungeons and Flagons (v0.88) - Multithreading!N-Body Simulation Tutorial in Excel!First Games in C++: Krazy Karts (v0.79b) - Homing-in Missiles!First Games in C++: Krazy Karts (v0.78) - Powerups!First Games in C++: Dungeons and Flagons (v0.85) - Torch Shadow Casting!Game Engine 20: Camera TransitionsNew to C++: Breakout - My First Challenge!Real 3D Engine - in Excel!!A Simple FPS Raycaster Engine in C++Simple First Games in C++ : Breakout Multiplayer!
s0lly |

Ray Tracing: Texture Mapping & Lighting

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER