SkyboxVertexShaderOpenGL

Package: Libraries.Game.Graphics.Shaders.OpenGL.Vertex · Inherits from: Libraries.Game.Graphics.Shaders.Shader, Libraries.Language.Object

SkyboxVertexShaderOpenGL draws one triangle covering the screen, at the far plane, for the sky. It needs no vertices: the corners come from the vertex number. It passes each pixel's screen position, from -1 to 1, to the fragment shader.

Example Code

use Libraries.Game.Graphics.Shaders.OpenGL.Vertex.SkyboxVertexShaderOpenGL
SkyboxVertexShaderOpenGL shader
shader:Compile()

Inherited Actions

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