mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 13:22:20 +01:00
19 lines
524 B
Plaintext
19 lines
524 B
Plaintext
// __multiversion__
|
|
// This signals the loading code to prepend either #version 100 or #version 300 es as apropriate.
|
|
|
|
// To use centroid sampling we need to have version 300 es shaders, which requires changing:
|
|
// attribute to in
|
|
// __multiversion__
|
|
// This signals the loading code to prepend either #version 100 or #version 300 es as apropriate.
|
|
|
|
#include "shaders/fragmentVersionCentroidUV.h"
|
|
|
|
uniform sampler2D TEXTURE_0;
|
|
|
|
|
|
void main()
|
|
{
|
|
//TODO: Implement
|
|
gl_FragColor = texture2D(TEXTURE_0, uv);
|
|
}
|