blob: 45a0867024f97568049ceec0f0fd047c52e45c91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#version 330 core
#extension GL_ARB_shading_language_420pack : enable
layout(binding = 1) uniform usampler2DRect materialData;
include(`meshIn.glsl')
include(`materialInterface.glsl')
include(`getMaterialDetail.glsl')
uniform mat4 viewProjection;
void
main()
{
TexCoords = texCoord;
Material = getMaterialDetail(material);
gl_Position = viewProjection * vec4(position, 1);
}
|