How to export a Three.js based game to PS5 or Xbox Series?

I’ve searched on google about it, but I couldn’t find any solution.

It’s unlikely to be possible since PS5 built-in browser lacks support of many Web APIs due to endless security concerns.

Even if you’d go the usual way of running WebGL outside the browser, and manage to run Three.js webpage via some Unity / Unreal Engine / Godot web-view, it’ll either not launch at all, or lack so many native APIs it’d barely work :smiling_face_with_tear:


Thank you for the answer. So, bascally, if I want to run my game on Playstation or Xbox, I have to translate it from Javascript to some compiled programming language like C++. :confused: