diff --git a/Cargo.toml b/Cargo.toml index 2814aec5..876fbb75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -109,7 +109,6 @@ headless = [ ] viewer = [ - "bevy_args", "bevy-inspector-egui", "bevy_panorbit_camera", # "bevy_transform_gizmo", @@ -134,7 +133,7 @@ webgpu = ["bevy/webgpu"] [dependencies] -bevy_args = { version = "1.4", optional = true } +bevy_args = "1.6" bevy-inspector-egui = { version = "0.25", optional = true } bevy_mod_picking = { version = "0.20", optional = true } bevy_panorbit_camera = { version = "0.19", optional = true } diff --git a/src/render/gaussian.wgsl b/src/render/gaussian.wgsl index 6fcb0958..e07a6aab 100644 --- a/src/render/gaussian.wgsl +++ b/src/render/gaussian.wgsl @@ -381,6 +381,7 @@ fn vs_points( var rgb = vec3(0.0); #ifdef RASTERIZE_DEPTH + // TODO: unbiased depth rendering, see: https://zju3dv.github.io/pgsr/ let first_position = vec4(get_position(get_entry(1u).value), 1.0); let last_position = vec4(get_position(get_entry(gaussian_uniforms.count - 1u).value), 1.0);