mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 13:22:20 +01:00
Initial commit
This commit is contained in:
commit
86efc669e9
5013 files changed
+237743
No files matched your search
@@ -0,0 +1,19 @@
|
||||
// __multiversion__
|
||||
// This signals the loading code to prepend either #version 100 or #version 300 es as apropriate.
|
||||
|
||||
#include "shaders/vertexVersionSimple.h"
|
||||
#include "shaders/uniformWorldConstants.h"
|
||||
#include "shaders/util_vertex.h"
|
||||
|
||||
attribute mediump vec4 POSITION;
|
||||
attribute vec4 WEIGHTS;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = WORLDVIEWPROJ * POSITION;
|
||||
|
||||
gl_Position.xy += computeScreenOffsets(POSITION.xyz, WEIGHTS, WORLDVIEWPROJ);
|
||||
|
||||
//this is to make it come closer to the camera and avoid z-fighting
|
||||
gl_Position.z -= 0.0001;
|
||||
}
|
||||
Reference in new issue
Block a user