blob: dce78b9c8cc14fc7df505d3fd663e50abc086d17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//Copyright 2010-2024 JogAmp Community. All rights reserved.
#if __VERSION__ >= 130
#define attribute in
#define varying out
#endif
#include uniforms.glsl
#include attributes.glsl
#include varyings.glsl
void main(void)
{
// gl_Position = gcu_PMVMatrix01[0] * gcu_PMVMatrix01[1] * vec4(gca_FboVertices, 1);
gl_Position = gcu_PMVMatrix01[0] * gcu_PMVMatrix01[1] * gca_FboVertices;
#ifdef USE_AABBOX_CLIPPING
gcv_ClipBBoxCoord = (gcu_PMVMatrix01[1] * gca_FboVertices).xyz; // Mv
#endif
gcv_FboTexCoord = gca_FboTexCoords;
}
|