summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/shadowDynamicPointInst.vs
blob: eb7313ac183ac03cc21d0e1128f425257b8e9a16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 330 core

include(`meshIn.glsl')
layout(location = 5) in mat4 model;

uniform mat4 viewProjection;

void
main()
{
	gl_Position = viewProjection * model * vec4(position, 1.0);
	gl_Position.z = max(gl_Position.z, -1);
}