Uniform colors

This commit is contained in:
2026-02-03 20:31:12 +01:00
parent b80c321e84
commit 4394179a71
6 changed files with 189 additions and 48 deletions

View File

@@ -34,6 +34,7 @@ Uniform :: union {
Uniform_Float,
Uniform_Matrix4f32,
Uniform_Vector3,
Uniform_Color,
}
Uniform_Texture :: struct {
@@ -56,6 +57,11 @@ Uniform_Vector3 :: struct {
value: ^[3]f32,
}
Uniform_Color :: struct {
name: string,
value: ^Color,
}
Post_Processing_Node :: struct {
uniforms: []Uniform,
output: ^Render_Target,