1 struct LightSourceParameters
9 uniform mat4 world_obj_matrix;
10 uniform mat3 world_obj_normal_matrix;
11 uniform CameraTransform
13 mat4 eye_world_matrix;
14 mat4 world_eye_matrix;
19 const int max_lights = 6;
22 LightSourceParameters light_sources[max_lights];
28 #pragma MSP stage(vertex)
29 layout(location=0) in vec4 vertex;
30 layout(location=1) in vec4 color;
31 layout(location=2) in vec3 normal;
32 layout(location=3) in vec3 tangent;
33 layout(location=4) in ivec4 group;
34 layout(location=5) in vec4 weight;
35 layout(location=6) in vec4 texcoord;
36 layout(location=7) in vec4 texcoord1;
37 layout(location=8) in vec4 texcoord2;
38 layout(location=9) in vec4 texcoord3;
39 layout(location=13) in vec4 instance_transform[3];