Jelajahi Sumber

Added example images

Björn Ritzl 2 bulan lalu
induk
melakukan
c57862febb
3 mengubah file dengan 8 tambahan dan 0 penghapusan
  1. TEMPAT SAMPAH
      model/skybox/collection.png
  2. TEMPAT SAMPAH
      model/skybox/cubemap.png
  3. 8 0
      model/skybox/example.md

TEMPAT SAMPAH
model/skybox/collection.png


TEMPAT SAMPAH
model/skybox/cubemap.png


+ 8 - 0
model/skybox/example.md

@@ -12,4 +12,12 @@ This example shows how to create a skybox. A skybox is a technique that makes th
 An in-depth explanation of skybox rendering can be found in [Tutorial 25 of OGL Dev](https://www.ogldev.org/www/tutorial25/tutorial25.html).
 
 
+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.
+
+![](cubemap.png)
+
+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:
+
+![](collection.png)
+
 Skybox texture from Babylon.js Playground (Apache 2 license)