* debugging PCF mode This mode always uses a hard PCF and takes a slightly slower code path. * dynamic shadowmap visualization The directional shadowmap visualizer is implemented behind a specialization constant. Add the DebugRegistry infrastructure to be able to update the spec-constant at runtime and have a subset of all materials invalidated. This allows to toggle the visualization at runtime using a debug property. This is also a proof of concept that we can update spec-constants at runtime; we could probably leverage this work for engine-wide shader configurations. * Update main.fs * Update filament/src/details/Material.cpp Co-authored-by: Powei Feng <powei@google.com> --------- Co-authored-by: Powei Feng <powei@google.com>
1.6 KiB
1.6 KiB