Skip to content

Commit c57862f

Browse files
committed
Added example images
1 parent 41529a1 commit c57862f

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

model/skybox/collection.png

247 KB
Loading

model/skybox/cubemap.png

293 KB
Loading

model/skybox/example.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@ This example shows how to create a skybox. A skybox is a technique that makes th
1212
An in-depth explanation of skybox rendering can be found in [Tutorial 25 of OGL Dev](https://www.ogldev.org/www/tutorial25/tutorial25.html).
1313

1414

15+
One of the key components of a skybox is the cubemap texture. A cubemap is a texture that contains 6 individual 2D textures that each form one side of a cube: a textured cube.
16+
17+
![](cubemap.png)
18+
19+
The cubemap is projected on a sphere or a cube positioned in such a way that the camera and other objects are placed inside the cubemap:
20+
21+
![](collection.png)
22+
1523
Skybox texture from Babylon.js Playground (Apache 2 license)

0 commit comments

Comments
 (0)