blob: 6272d0b9bbe94fa8c1e84d176a31d1e0b97adade (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
include(`materialDetail.glsl')
void
main()
{
FragPos = (model * position) + modelPos;
TexCoords = texCoord;
Normal = (model * normal);
Colour = colour;
Material = getMaterialDetail(material);
gl_Position = viewProjection * vec4(FragPos - viewPoint, 1);
}
|