mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-11 14:03:23 -05:00
22 lines
491 B
GLSL
22 lines
491 B
GLSL
#ifdef EMBED_HLSL
|
|
R"NUONSHADER(
|
|
#endif
|
|
/*
|
|
Nuance generic vertex shader for all pixel modes:
|
|
|
|
This vertex shader simply passes in the texture coordinates set by
|
|
glMultiTexCoord and then sets gl_Position with the transformed vertex
|
|
coordinate.
|
|
*/
|
|
|
|
void main(void)
|
|
{
|
|
gl_TexCoord[0] = gl_MultiTexCoord0;
|
|
gl_TexCoord[1] = gl_MultiTexCoord1;
|
|
gl_TexCoord[2] = gl_MultiTexCoord2;
|
|
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
|
|
}
|
|
#ifdef EMBED_HLSL
|
|
)NUONSHADER"
|
|
#endif
|