16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 09:19:18 +02:00

material work, use multibind and dsa in main texture binding

This commit is contained in:
milek7
2018-07-19 00:20:42 +02:00
parent ee16821509
commit a53224b47d
16 changed files with 128 additions and 178 deletions

View File

@@ -31,7 +31,7 @@ namespace gl
#pragma pack(push, 1)
const size_t MAX_TEXTURES = 4;
const size_t MAX_TEXTURES = 8;
struct scene_ubs
{
@@ -91,7 +91,7 @@ namespace gl
static_assert(sizeof(light_element_ubs) == 64, "bad size of ubs");
const size_t MAX_LIGHTS = 4;
const size_t MAX_LIGHTS = 8;
struct light_ubs
{