2023-12-01 22:51:34 +01:00
|
|
|
#include "flywheel:api/material.glsl"
|
2024-07-06 04:27:26 +02:00
|
|
|
#include "flywheel:api/common.glsl"
|
2023-12-01 22:51:34 +01:00
|
|
|
|
2023-12-01 09:23:34 +01:00
|
|
|
vec4 flw_vertexPos;
|
|
|
|
vec4 flw_vertexColor;
|
|
|
|
vec2 flw_vertexTexCoord;
|
|
|
|
ivec2 flw_vertexOverlay;
|
|
|
|
vec2 flw_vertexLight;
|
|
|
|
vec3 flw_vertexNormal;
|
2022-09-30 05:41:44 +02:00
|
|
|
|
2023-12-01 22:51:34 +01:00
|
|
|
/*const*/ FlwMaterial flw_material;
|
|
|
|
|
2023-12-01 09:23:34 +01:00
|
|
|
// To be implemented by the instance shader.
|
|
|
|
void flw_instanceVertex(FlwInstance i);
|
|
|
|
|
2024-01-15 23:09:19 +01:00
|
|
|
// To be implemented by the instance cull shader.
|
|
|
|
void flw_transformBoundingSphere(in FlwInstance i, inout vec3 center, inout float radius);
|
|
|
|
|
2023-12-07 07:00:31 +01:00
|
|
|
// To be implemented by the material vertex shader.
|
2023-12-01 09:23:34 +01:00
|
|
|
void flw_materialVertex();
|