Convert Valve BSP files to GLTF files
vbsp-to-gltf input.bsp output.glb
Note that this requires TF2 to be installed to get the texture and props referenced in the map.
It should be able to automatically detect the tf2 path or you can overwrite it by setting the TF_DIR
environment
variable.
The output for the converter isn't particularly optimized, it's strongly recommended to run the output through gltfpack before usage.
koth_bagel
as viewed with the PlayCanvas model viewer.
An online version of the convert can be found at gltf.demos.tf.