blob: 7c1a52144e4fedd9acfea74833e460a65725c878 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef COMMON_POINT_INCLUDED
#define COMMON_POINT_INCLUDED
#include "getMaterialDetail.glsl"
void
main()
{
FragPos = (model * position) + modelPos - viewPoint;
TexCoords = texCoord;
Normal = (model * normal);
Colour = colour;
Material = getMaterialDetail(material);
gl_Position = viewProjection * vec4(FragPos, 1);
}
#endif
|