summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/network.frag
blob: 2f291ea0c9c528e87bc37f86a7e2124e691f11b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 460 core

include(`materialOut.glsl')
in vec3 rposition;
in vec2 texCoord;

layout(binding = 0) uniform sampler2D texture0;
uniform ivec3 viewPoint;

void
main()
{
	gPosition = ivec4(viewPoint + rposition, 1);
	gNormal = vec4(0, 0, 1, 1);
	gAlbedoSpec = texture(texture0, texCoord);
}