mirror of
https://github.com/lettier/3d-game-shaders-for-beginners.git
synced 2025-09-09 04:20:43 +02:00
20 lines
243 B
GLSL
20 lines
243 B
GLSL
/*
|
|
(C) 2019 David Lettier
|
|
lettier.com
|
|
*/
|
|
|
|
#version 150
|
|
|
|
in vec4 vertexPosition;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main() {
|
|
// To convert Panda3D z-up to OpenGL y-up.
|
|
/*
|
|
fragColor = vertexPosition.xzyw;
|
|
*/
|
|
|
|
fragColor = vertexPosition;
|
|
}
|