Hi,
it’s doable to replace ALL “THREE.*” with “v3d” in Three.js projects that people have pasted on github, in order to have them work with the v3d library
Such replacement is actually not needed because v3d also declares the global variable “THREE” for compatibility reasons. So, it should be fine to leave it as is.
But, as Yuri said the API can be outdated. If the code you’re trying to use is not from the official three.js examples repository (which is supported and tested by the three.js developers) and it’s several years old then there are high chances that it will have issues even when used with the latest three.js version, because three.js itself (and hence verge3d) have changed much over the years.
Co-founder and lead developer at Soft8Soft.