Cascade selection used euclidean eye distance while splits are view-space
+Z, so a wide atrium sampled the wrong shadow map (half-frame black cut).
Fit CSM to a 64m shadow far, snap ortho bounds to texels, and scale depth
bias with world texel size.
Forward packing sorted point lights first and always shaded lights[0] as
a directional, so MultiPoint/IBL treated a world position as L and blew
out. Promote a real directional to the primary slot and zero that term
when only points exist.
Also: view-space position in mesh3d, two-sided mesh pipeline, mirrored
Assimp winding, alpha cutout, stable TBN, hemispheric ambient, and SDR
highlight compression. Sponza camera far/point intensities are last-mile
only after the engine fixes.
Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>
- Added new test cases for various graphics functionalities, including animation previews, particle effects, and inventory UI.
- Implemented rendering previews for Mixamo animations, Box2D physics, and procedural generation, allowing for real-time visualization during tests.
- Introduced helper functions for drawing graphics elements, improving the clarity and maintainability of test code.
- Enhanced existing tests to utilize the new graphics capabilities, ensuring comprehensive coverage of rendering features.
- Implemented multi-layer tilemap functionality, allowing for the reading and saving of Tiled JSON formats.
- Added support for various tile projections (orthogonal, isometric, staggered, hexagonal) and depth calculations.
- Introduced object layer parsing and caching for improved map object management.
- Updated the rendering system to unify 2D depth queues and enhance sprite handling.
- Added new methods for accessing object properties, including position and dimensions.
This update significantly improves the map module's capabilities and integration with the rendering system.
- Updated the math module to include vector and matrix operations, noise generation, Bezier curves, and random number utilities.
- Introduced the tensor module, providing TensorFlow 2-style eager execution and graph building capabilities.
- Enhanced documentation to reflect the new features in the math and tensor modules, including usage examples and API references.
- Modified CMakeLists.txt to include the new math and tensor modules, ensuring proper build configurations.
Co-authored-by: Cursor <cursoragent@cursor.com>