summaryrefslogtreecommitdiff
path: root/crates/renderer/src/assets.rs
diff options
context:
space:
mode:
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")),