From b76171a915e734bf9f2a0ca1ddbaceacc82da503 Mon Sep 17 00:00:00 2001 From: mosure Date: Tue, 3 Sep 2024 16:23:44 -0500 Subject: [PATCH] docs: todo --- Cargo.toml | 3 +-- src/render/gaussian.wgsl | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 40fa2782..d4233587 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 = { version = "1.4.2" } bevy-inspector-egui = { version = "0.24", optional = true } bevy_mod_picking = { version = "0.18", optional = true } bevy_panorbit_camera = { version = "0.18", optional = true } diff --git a/src/render/gaussian.wgsl b/src/render/gaussian.wgsl index a425a4e0..60d869a2 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);