Uploaded February 2020 | Updated September 2026, 3 weeks ago
Experimenting with portals, for science.
The project is available here: github.com/SebLague/Portals/tree/master
If you'd like to get early access to new projects, or simply want to support me in creating more videos, please visit patreon.com/SebastianLague
Resources I used:
tomhulton.blogspot.com/2015/08/portal-rendering-with-offscreen-render.html
terathon.com/lengyel/Lengyel-Oblique.pdf
scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/projection-matrices-what-you-need-to-know-first
turiyaware.com/a-solution-to-unitys-camera-worldtoscreenpoint-causing-ui-elements-to-display-when-object-is-behind-the-camera
Chapters:
0:00 Introduction
0:25 Figuring out the cameras
1:41 Test world
3:09 Texture mapping
4:27 Trying to understand perspective divide
5:50 Optimization
6:50 Making a prettier test world
7:18 Teleportation, at last!
9:17 Fixing the flickering
10:00 Slicing
12:15 Oblique projection
13:31 Recursive portals
15:33 Outroduction
3D Models:
Plane: turbosquid.com/FullPreview/Index.cfm/ID/1041070
Car: turbosquid.com/FullPreview/Index.cfm/ID/1101519
Music:
"Twisting", "Lightless Dawn", "Frost Waltz", "Heart of Nowhere", "At Rest", "Spellbound", "In Your Arms", "Rynos Theme", and "The Builder" by Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/by/3.0
Experimenting with portals, for science.
The project is available here: github.com/SebLague/Portals/tree/master
If you'd like to get early access to new projects, or simply want to support me in creating more videos, please visit patreon.com/SebastianLague
Resources I used:
tomhulton.blogspot.com/2015/08/portal-rendering-with-offscreen-render.html
terathon.com/lengyel/Lengyel-Oblique.pdf
scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/projection-matrices-what-you-need-to-know-first
turiyaware.com/a-solution-to-unitys-camera-worldtoscreenpoint-causing-ui-elements-to-display-when-object-is-behind-the-camera
Chapters:
0:00 Introduction
0:25 Figuring out the cameras
1:41 Test world
3:09 Texture mapping
4:27 Trying to understand perspective divide
5:50 Optimization
6:50 Making a prettier test world
7:18 Teleportation, at last!
9:17 Fixing the flickering
10:00 Slicing
12:15 Oblique projection
13:31 Recursive portals
15:33 Outroduction
3D Models:
Plane: turbosquid.com/FullPreview/Index.cfm/ID/1041070
Car: turbosquid.com/FullPreview/Index.cfm/ID/1101519
Music:
"Twisting", "Lightless Dawn", "Frost Waltz", "Heart of Nowhere", "At Rest", "Spellbound", "In Your Arms", "Rynos Theme", and "The Builder" by Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/by/3.0

![[Unity] 2D Curve Editor (E05: evenly spaced points)
Source: https://github.com/SebLague/Curve-Editor
Support the creation of more gamedev tutorials:
https://www.patreon.com/SebastianLague
https://www.paypal.me/SebastianLague [Unity] 2D Curve Editor (E05: evenly spaced points)](https://i.ytimg.com/vi/d9k97JemYbM/mqdefault.jpg)






![[Ludum Dare #38] Space Turtle: Behind the Scenes
A behind the scenes video for my entry to the 38th Ludum Dare compo (make a game in 48hrs). The theme this time around was A Small World.
You can view the game here: https://ldjam.com/events/ludum-dare/38/space-turtle [Ludum Dare #38] Space Turtle: Behind the Scenes](https://i.ytimg.com/vi/fESeYz0zRFA/mqdefault.jpg)

