As I embark on creating a galaxy using Three.js, my goal is to maintain a realistic scale for everything. This means that the values for position and size can become quite large.
The range of values I am working with typically falls between 0 and approximately 1 * 10^20. However, I have encountered issues with values greater than around 1*10^6 and less than around 1*10^-5, which affect features such as visibility
, raycasting, and other functionalities.
Are there limitations on how large or small these values can be? Alternatively, are these problems stemming from another source that can be circumvented using a workaround?