'How to get all objects that are visible on the camera in Three.js

I need lazy load textures to my meshes, and load only those that are visible to the camera. how i can do this without million vectors in Raycaster?



Solution 1:[1]

scene.traverseVisible(callback) 

More info: https://threejs.org/docs/#api/en/core/Object3D.traverseVisible

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Syscall