aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/fparkan-game/src/main.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs
index 33ed782..30380ed 100644
--- a/apps/fparkan-game/src/main.rs
+++ b/apps/fparkan-game/src/main.rs
@@ -9440,6 +9440,20 @@ impl StaticVulkanApp {
})
.count();
eprintln!("render_coverage portal_fade_packet_selection_approx={approximate_portals} (first indexed vertex; native CPU clipping selection pending)");
+ let randomized_lights = self
+ .control_point_light_slots
+ .iter()
+ .filter(|slot| {
+ [92..108, 116..120].into_iter().any(|range| {
+ slot.command.raw_body.get(range).is_some_and(|bytes| {
+ bytes
+ .chunks_exact(4)
+ .any(|word| f32::from_le_bytes(word.try_into().unwrap()) != 0.0)
+ })
+ })
+ })
+ .count();
+ eprintln!("render_coverage control_op1_jitter_unsupported={randomized_lights} (using authored color and radius; native RNG sampling pending)");
for &range_index in &self.world_range_indices {
let range = self
.mesh