Elektrine lite

← Feed

@tojiro@mastodon.social

Post #3053889

2025-11-13 01:24 UTC

@unconed@mstdn.io I haven't been able to give it much attention since getting the basics running behind a flag, unfortunately. To your questions: Reverse Z should work, pass a larger number to the renderState's depthNear than depthFar (which is explicitly allowed by the spec) https://immersive-web.github.io/webxr/#dom-xrrenderstate-depthnear

Replies (1)

  • @tojiro@mastodon.social 2025-11-13 01:26

    @unconed@mstdn.io For texture views/descriptors/etc creating them every frame is less overhead than you'd think, especially because the native equivalent objects are cached by the WebGPU implementation. The JS wrappers are small and should be caught in early GC passes, which are far less expensive.

    Open ##3053890