semi-transparent water rendering (TODO)
This commit is contained in:
14
internal/asset/shader/world/shadowmap.vert
Normal file
14
internal/asset/shader/world/shadowmap.vert
Normal file
@@ -0,0 +1,14 @@
|
||||
#version 330
|
||||
|
||||
uniform mat4 model;
|
||||
uniform mat4 lightspace;
|
||||
|
||||
layout (location = 0) in vec3 vert;
|
||||
layout (location = 1) in vec3 normal;
|
||||
layout (location = 2) in vec2 vertTexCoord;
|
||||
layout (location = 3) in float light;
|
||||
|
||||
void main() {
|
||||
gl_Position = lightspace * model * vec4(vert, 1.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user