Added other EtcObj types

This commit is contained in:
korenkonder
2023-12-28 02:32:17 +03:00
parent ef1c83da89
commit 20b87a510c
9 changed files with 265 additions and 96 deletions
-27
View File
@@ -25,30 +25,14 @@ static const int32_t glitter_particle_wireframe_fpt_unival_max[] = {
-1,
};
static const int32_t grid_vpt_unival_max[] = {
-1,
};
static const int32_t grid_fpt_unival_max[] = {
-1,
};
static const uniform_name GLITTER_PT_WIREFRAME_uniform[] = {
U_INVALID,
};
static const uniform_name GRID_uniform[] = {
U_INVALID,
};
static const bool GLITTER_PT_WIREFRAME_permut[] = {
false,
};
static const bool GRID_permut[] = {
false,
};
static const shader_sub_table GLITTER_PT_WIREFRAME_table[] = {
{
SHADER_DEV_SUB_GLITTER_PT_WIREFRAME,
@@ -59,16 +43,6 @@ static const shader_sub_table GLITTER_PT_WIREFRAME_table[] = {
},
};
static const shader_sub_table GRID_table[] = {
{
SHADER_DEV_SUB_GRID,
grid_vpt_unival_max,
grid_fpt_unival_max,
"grid",
"grid",
},
};
#define shader_table_struct(n) \
{ \
#n, \
@@ -90,7 +64,6 @@ const shader_table shader_dev_table[] = {
0,
0,
},
shader_table_struct(GRID),
shader_table_struct(GLITTER_PT_WIREFRAME),
};