# 5.0.0 ## Major updates ## Updates ### General - Added static CenterToRef for vectors 2/3/4 ([aWeirdo](https://github.com/aWeirdo)) ### Materials - Added an `OcclusionMaterial` to simplify depth-only rendering of geometry ([rgerd](https://github.com/rgerd)) ## Bugs - Fix issue with the Promise polyfill where a return value was expected from resolve() ([Deltakosh](https://github.com/deltakosh)) ## Breaking changes