summaryrefslogtreecommitdiff
path: root/crates/renderer/src/assets.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-11-22 17:45:54 -0500
committerLLLL Colonq <llll@colonq>2025-11-22 17:45:54 -0500
commite64264a494d95ae2caa14b453531cc527e26f8ed (patch)
treef3a631c1a08d37e909ebd44450b5868255601de1 /crates/renderer/src/assets.rs
parent2a0a832049459783967c889bf4fca7636bb0f76d (diff)
Animated TCG
Diffstat (limited to 'crates/renderer/src/assets.rs')
-rw-r--r--crates/renderer/src/assets.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/renderer/src/assets.rs b/crates/renderer/src/assets.rs
index 1006c13..bfcaa0d 100644
--- a/crates/renderer/src/assets.rs
+++ b/crates/renderer/src/assets.rs
@@ -8,6 +8,7 @@ pub struct Assets {
pub shader_tcg: shader::Shader,
pub shader_tcg_screen: shader::Shader,
pub shader_tcg_base: shader::Shader,
+ pub shader_tcg_effect: shader::Shader,
pub texture_adblock: texture::Texture,
pub texture_mod: texture::Texture,
pub texture_operatop: texture::Texture,
@@ -48,6 +49,11 @@ impl Assets {
include_str!("assets/shaders/tcg_base/vert.glsl"),
include_str!("assets/shaders/tcg_base/frag.glsl")
),
+ shader_tcg_effect: shader::Shader::new(
+ ctx,
+ include_str!("assets/shaders/tcg_effect/vert.glsl"),
+ include_str!("assets/shaders/tcg_effect/frag.glsl")
+ ),
texture_adblock: texture::Texture::new(ctx, include_bytes!("assets/textures/adblock.png")),
texture_mod: texture::Texture::new(ctx, include_bytes!("assets/textures/mod.png")),
texture_operatop: texture::Texture::new(ctx, include_bytes!("assets/textures/operatop.png")),