aboutsummaryrefslogtreecommitdiff
path: root/src/render/llr_impl.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-11-01 18:23:08 -0700
committer3gg <3gg@shellblade.net>2025-11-01 18:23:08 -0700
commit42b5f1997cdd5e99645e24dca6cb89cc7b081a09 (patch)
tree2a2608c892fdedd1a728e1163b01988e8264e635 /src/render/llr_impl.h
parentf494baf976c4494dd0ea4e755907cf49b026eb5d (diff)
Add support for alpha mode
Diffstat (limited to 'src/render/llr_impl.h')
-rw-r--r--src/render/llr_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/llr_impl.h b/src/render/llr_impl.h
index c85ad15..3a5455a 100644
--- a/src/render/llr_impl.h
+++ b/src/render/llr_impl.h
@@ -3,8 +3,6 @@
3#include <gfx/render/llr.h> 3#include <gfx/render/llr.h>
4#include <gfx/sizes.h> 4#include <gfx/sizes.h>
5 5
6#include "../types.h"
7
8#include <math/mat4.h> 6#include <math/mat4.h>
9#include <math/vec3.h> 7#include <math/vec3.h>
10 8
@@ -37,8 +35,10 @@ typedef struct Light {
37} Light; 35} Light;
38 36
39typedef struct Material { 37typedef struct Material {
38 AlphaMode alpha_mode;
39 float alpha_cutoff;
40 int8_t num_uniforms;
40 ShaderUniform uniforms[GFX_MAX_UNIFORMS_PER_MATERIAL]; 41 ShaderUniform uniforms[GFX_MAX_UNIFORMS_PER_MATERIAL];
41 int num_uniforms;
42} Material; 42} Material;
43 43
44typedef struct Mesh { 44typedef struct Mesh {