Answer the question
In order to leave comments, you need to log in
Three.js multiple Renderer. Maybe?
Colleagues, good afternoon.
There is a scene with THREE.WebGLRenderer rendering. There is an object on the stage (for example, a cube).
You need to click on the cube to throw out the menu to select an action.
I tried to use THREE.CSS3DRenderer(), but I didn't understand how to use it on the same scene at the same time...
Please tell me. Maybe you can implement the menu in a different way...
Answer the question
In order to leave comments, you need to log in
1. Two renders on one canvas will not work, obviously.
2. I do not understand how the fact that it is necessary to process a click on a cube and a CSS render is connected. Mouse processing (over, click, etc.) on scene objects is done using Raycast. Read here .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question