mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
Initial commit
This commit is contained in:
commit
86efc669e9
5013 files changed
+237743
No files matched your search
@@ -0,0 +1,33 @@
|
||||
// __multiversion__
|
||||
// This signals the loading code to prepend either #version 100 or #version 300 es as apropriate.
|
||||
|
||||
#include "shaders/vertexVersionCentroid.h"
|
||||
#if __VERSION__ >= 300
|
||||
|
||||
_centroid out vec2 uv;
|
||||
_centroid out vec2 uv1;
|
||||
|
||||
#else
|
||||
|
||||
varying vec2 uv;
|
||||
varying vec2 uv1;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#include "shaders/uniformWorldConstants.h"
|
||||
#include "shaders/uniformFlipbookTextureConstants.h"
|
||||
|
||||
attribute POS4 POSITION;
|
||||
attribute vec2 TEXCOORD_0;
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = WORLDVIEWPROJ * POSITION;
|
||||
|
||||
uv = TEXCOORD_0;
|
||||
uv.y += V_OFFSET;
|
||||
uv1 = TEXCOORD_0;
|
||||
uv1.y += V_BLEND_OFFSET;
|
||||
}
|
||||
Reference in new issue
Block a user