@woosh/meep-engine 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,7 +142,7 @@ export async function brick4_bake_basic({
142
142
 
143
143
  const cycle_seed = randomIntegerBetween(random, 0, 0xFFFFFFFF) >>> 0;
144
144
 
145
- graph_compute_pass({
145
+ const bake_pass_outputs = graph_compute_pass({
146
146
  graph,
147
147
  shader: shader_brick4_bake_probes,
148
148
  group_count: [dispatch_x],
@@ -186,7 +186,7 @@ export async function brick4_bake_basic({
186
186
  sample_count: SAMPLES_PER_PROBE,
187
187
  output_offset: i,
188
188
  },
189
- input: gr_cycle_trace_data,
189
+ input: bake_pass_outputs.output,
190
190
  output: gr_encoded_probe_results,
191
191
  }
192
192
  })
@@ -83,7 +83,7 @@ const DEFAULT_SHADOWMAP_LOCAL_RESOLUTION = 128;
83
83
  * its turn without permanently starving other lights.
84
84
  * @type {number}
85
85
  */
86
- const SHADOWMAP_UPDATE_BUDGET = 32;
86
+ const SHADOWMAP_UPDATE_BUDGET = 8;
87
87
 
88
88
  /**
89
89
  * Shadows for a single scene