From bd3fbb71cdef1cda0e4db5efa14c632ae72859d6 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 21:55:24 +0400 Subject: fix(ui): restore native cockpit miniature lighting --- apps/fparkan-game/src/projectile_render.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/fparkan-game/src/projectile_render.rs') 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(); -- cgit v1.2.3