SkyboxFragmentShaderVulkan

Package: Libraries.Game.Graphics.Shaders.Vulkan.Fragment · Inherits from: Libraries.Game.Graphics.Shaders.Shader, Libraries.Language.Object

SkyboxFragmentShaderVulkan colors each pixel of the sky from a cube map, in the direction the camera looks through that pixel (see Skybox:UpdateView). The camera's directions, the sky's rotation and its inverter come in push constants; the cube map in its own descriptor set.

Example Code

use Libraries.Game.Graphics.Shaders.Vulkan.Fragment.SkyboxFragmentShaderVulkan
SkyboxFragmentShaderVulkan shader
shader:Compile()

Inherited Actions

14 actions from Libraries.Game.Graphics.Shaders.Shader
3 actions from Libraries.Language.Object