Organize assets
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
#version 450
|
||||
in vec4 pos;
|
||||
in vec2 nor;
|
||||
in vec2 tex;
|
||||
out vec2 texCoord;
|
||||
out vec3 wnormal;
|
||||
out vec4 wvpposition;
|
||||
out vec4 prevwvpposition;
|
||||
uniform mat3 N;
|
||||
uniform mat4 WVP;
|
||||
uniform float texUnpack;
|
||||
uniform mat4 prevWVP;
|
||||
void main() {
|
||||
vec4 spos = vec4(pos.xyz, 1.0);
|
||||
texCoord = tex * texUnpack;
|
||||
wnormal = normalize(N * vec3(nor.xy, pos.w));
|
||||
gl_Position = WVP * spos;
|
||||
wvpposition = gl_Position;
|
||||
prevwvpposition = prevWVP * spos;
|
||||
}
|
||||
Reference in New Issue
Block a user