mosure / bevy_gaussian_splatting

bevy gaussian splatting render pipeline plugin
https://mosure.github.io/bevy_gaussian_splatting?gaussian_count=1000
MIT License
140 stars 9 forks source link

condition this system based on GaussianCloudBindGroup attachment #23

Open github-actions[bot] opened 11 months ago

github-actions[bot] commented 11 months ago

https://api.github.com/mosure/bevy_gaussian_splatting/blob/51bdd5d4efa484d388a0fdbe1d9684c06746c418/src/render/mod.rs#L254


        &mut RenderPhase<Transparent3d>,
    )>,
) {
    // TODO: condition this system based on GaussianCloudBindGroup attachment
    if gaussian_cloud_uniform.buffer().is_none() {
        return;
    };

    let draw_custom = transparent_3d_draw_functions.read().id::<DrawGaussians>();

    for (_view, mut transparent_phase) in &mut views {