[FEATURE] single light support

This commit is contained in:
Menno
2021-05-21 08:36:04 +02:00
parent 01571d191f
commit 9e9d50da9e
12 changed files with 132 additions and 13 deletions

View File

@@ -19,10 +19,15 @@ namespace models
/*
Structure for storing a texture (texture_id) to apply to a RawModel.
shine_damper = A damper for the angle the model needs to be look at to see reflections
reflectivity = The amount of light the model reflects
*/
struct ModelTexture
{
GLuint texture_id;
float shine_damper = 1;
float reflectivity = 0;
};
/*