- [ADDED] New shadow sampling
SHADOW_PCF5
(5x5) technique available in WebGL 2.0 with very little performance difference. - [ADDED] Emulation of slope-scaled depth bias for PCF3 shadow sampling on WebGL 1.0, reducing artifacts with shadow bias.
- [IMPROVED] Shadow PCF depth bias, to avoid some shadow tearing and artifacts. This might change the way shadow bias looks, consider increasing depth bias a bit.
- [IMPROVED] HDR rendering to avoid shaders revalidation reducing material switch overhead when rendering to HDR and LDR targets.
- [EXAMPLES] Updated first person example to scripts 2.0.
- [REFACTOR] Small simplification to model resource handler. By @H1Gdev in #894
- [FIX] Particles to work well with Orthographic camera. Thanks to @yaustar for help
- [FIX] Directional light clipping shadows after the far plane.
- [FIX] Destroying
Application
change of order of events during destroy to avoid nullified references. By @H1Gdev in #905 - [FIX] Line rendering related to normal matrix caches.
- [FIX] Keyboard input in several examples.
- [DOCS] minor fixes and tweaks.