You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
phoria2 v1.9.1 - performance improvements and minor fixes
Fixes
Video textures stop following their video on dispose() and when the texture is set again (fixes a leak).
Bloom keeps its glow on a see-through canvas (no background), on the page and in toImage().
Ambient and environment lighting: rough metals are no longer about a 1/4 too dark. The split sum is now fitted, light that bounces more than once is added back correctly and non-metals under ambient light discard light their coat reflects (they already did under direct lights).
Performance
Shadow maps are cached while nothing casting changes: sun, spot, point, glass and ground shadows. renderer.info reports the maps drawn and is maintained for next frame.
Faster draw loop: a GL state cache, uniforms and texture binds sent only when they change, and programs shared per material variant (2k meshes: 5.1 → 3.9 ms).
Sorted points are radix-sorted and skipped when nothing has moved.
Charts: network charts run in linear time, and frames, titles and legends are kept when unchanged.
Faster picking occlusion and shadow bounds; spot shadows now work from instanced meshes.
Demos and tooling
City demo: up to ~40k buildings, with searchlights at night to test shadows.
Guided tour: fixed the floor and its reflections flipping as the camera turns.