Answer the question
In order to leave comments, you need to log in
How to write an interface that runs on top of three.js?
Hello! Here is let's say I have a scene on threejs. In the case of games, how to draw a menu on top, information about the player's parameters, sights and others that are available in games. Can this be done somehow using Canvas? But won't it overlap with openGL?
Answer the question
In order to leave comments, you need to log in
sculpt the GUI (on a 2D canvas) as a separate layer on top of the 3D canvas and that's it.
In any demo on threejs there are interface parts, you can easily see. No, they will not overlap. You can use normal html elements.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question