mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
14 lines
272 B
GLSL
14 lines
272 B
GLSL
#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;
|
|
}
|