historical/toontown-classic.git/panda/samples/shader-terrain/skybox.vert.glsl

14 lines
272 B
Text
Raw Normal View History

2024-01-16 11:20:27 -06:00
#version 150
// This is just a simple vertex shader transforming the skybox
in vec4 p3d_Vertex;
uniform mat4 p3d_ModelViewProjectionMatrix;
out vec3 skybox_pos;
void main() {
skybox_pos = p3d_Vertex.xyz;
gl_Position = p3d_ModelViewProjectionMatrix * p3d_Vertex;
}