summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/commonShadowPoint.glsl
blob: ba4611adfd118171240170b5c91f3b6211ff710d (plain)
1
2
3
4
5
6
7
8
out vec4 vworldPos;

void
main()
{
	vec3 worldPos = model * position;
	vworldPos = vec4(worldPos - viewPoint + modelPos, 1);
}