From e64264a494d95ae2caa14b453531cc527e26f8ed Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Sat, 22 Nov 2025 17:45:54 -0500 Subject: Animated TCG --- crates/renderer/src/assets.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crates/renderer/src/assets.rs') 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")), -- cgit v1.2.3