Code Name: CubemapSkybox
In this example, a skybox is placed on the scene using a cubemap texture. It is viewed using the orbit camera.
| Input | Action |
|---|---|
| Mouse Move | Rotataing the orbit camera |
| Mouse Scroll | Zooming the orbit camera |
| Esc | Close the window |
| Parameter / Key | Type | Usage in Code | Description | Default Value |
|---|---|---|---|---|
| AppSettings.ClearColor | VkClearColorValue | AppSettings::ClearColor | Background color of the screen | |
| AppSettings.MouseSensitivity | float | AppSettings::MouseSensitivity | Mouse sensitivity value | |
| AppSettings.CameraZoomSpeed | float | AppSettings::CameraZoomSpeed | Zoom speed of the camera |
- Loading cubemap images in Vulkan
- Using cubemap images in shaders
- Drawing skyboxes with using cubemap images
- Implementing the orbit camera
| Shader Type | Status | Notes |
|---|---|---|
| GLSL | ✅ | |
| HLSL | ✅ | |
| Slang | ❌ | Will be implemented. |
None
Window system-dependent extensions:
- VK_KHR_surface
- VK_KHR_win32_surface (Windows)
- VK_KHR_swapchain
