generated from sigonasr2/JavaProjectTemplate
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
365 B
20 lines
365 B
2 years ago
|
// Copyright 2012 JogAmp Community. All rights reserved.
|
||
|
|
||
|
#if __VERSION__ >= 130
|
||
|
#define varying in
|
||
|
out vec4 mgl_FragColor;
|
||
|
#define texture2D texture
|
||
|
#else
|
||
|
#define mgl_FragColor gl_FragColor
|
||
|
#endif
|
||
|
|
||
|
varying vec2 mgl_texCoord;
|
||
|
|
||
|
uniform sampler2D mgl_Texture0;
|
||
|
|
||
|
void main (void)
|
||
|
{
|
||
|
mgl_FragColor = texture2D(mgl_Texture0, mgl_texCoord);
|
||
|
}
|
||
|
|