aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/projectile_render.rs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/fparkan-game/src/projectile_render.rs')
-rw-r--r--apps/fparkan-game/src/projectile_render.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/fparkan-game/src/projectile_render.rs b/apps/fparkan-game/src/projectile_render.rs
index c57c63a1..ed475a2a 100644
--- a/apps/fparkan-game/src/projectile_render.rs
+++ b/apps/fparkan-game/src/projectile_render.rs
@@ -3,7 +3,7 @@
use super::{
append_static_preview_component, cross3, fixed_effect_field, normalize3, projectile_sound,
projectile_trail, shot_sound, static_preview_component_materials, EffectMaterials,
- MaterialAnimationBinding, StaticPreviewScene, VulkanStaticMaterial,
+ MaterialAnimationBinding, ModelMaterialStyle, StaticPreviewScene, VulkanStaticMaterial,
};
use fparkan_assets::{
load_resource_entry_bytes_from_root, PreparedControlEffectRow, PreparedControlEffectSection,
@@ -195,6 +195,7 @@ pub(super) fn prepare_projectile_draw_into(
None,
materials,
material_animations,
+ ModelMaterialStyle::Scene,
)?;
let capacity = capacity(projectile.lifetime_ms).min(128);
let mut instances = Vec::new();