diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 07:59:50 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 07:59:50 +0300 |
| commit | 43462dacb4c78742aeb84bdfac3dccad9933dd20 (patch) | |
| tree | 934ba3de7abbca33b7868be45d32851c3591172b /apps/fparkan-game/src | |
| parent | 5cd0954cbc50c31ce55de2503f79d8650681794d (diff) | |
| download | fparkan-43462dacb4c78742aeb84bdfac3dccad9933dd20.tar.xz fparkan-43462dacb4c78742aeb84bdfac3dccad9933dd20.zip | |
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.
Diffstat (limited to 'apps/fparkan-game/src')
| -rw-r--r-- | apps/fparkan-game/src/destruction_effects.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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( |
