From 43462dacb4c78742aeb84bdfac3dccad9933dd20 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 08:59:50 +0400 Subject: fix(render): close the explosion billboard quad Use the cyclic Op3 corner order for the two triangles. A four-frame stock bunker fixture removes the missing wedge and overlap at the same camera and clock. --- apps/fparkan-game/src/destruction_effects.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/fparkan-game') diff --git a/apps/fparkan-game/src/destruction_effects.rs b/apps/fparkan-game/src/destruction_effects.rs index b73d5985..97f7436a 100644 --- a/apps/fparkan-game/src/destruction_effects.rs +++ b/apps/fparkan-game/src/destruction_effects.rs @@ -3,7 +3,7 @@ use super::{ ambient_effect_pipeline_state, ambient_effect_vertex_rgb, append_effect_material_animation, append_environment_range, audio::GameAudio, debris::MeshFragment, - environment_vertex_with_alpha, native_command_phase, prepare_effect_material, quad_indices, + environment_vertex_with_alpha, native_command_phase, prepare_effect_material, EnvironmentGpuRange, MaterialAnimationBinding, PreparedEffectMaterial, StaticPreviewScene, }; use fparkan_assets::{decode_explosion_effect, load_resource_entry_bytes_from_root, TerrainWorld}; @@ -206,7 +206,7 @@ impl DestructionEffects { ); 4 ], - quad_indices(1)?, + vec![0, 1, 2, 2, 3, 0], pipeline, )?; let material = append_effect_material_animation( -- cgit v1.2.3