We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Option to not export textures?

Home Forums Graphics / Blender Option to not export textures?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #87745
    backpackvacuum
    Customer

    I am building a custom app that uses Verge3D. I have lots of different scenes, and they all use the same textures, so I have centralized those textures and set a URL modifier like this:

    
    v3d.DefaultLoadingManager.setURLModifier((url) => {
        if (/\.(png|jpe?g|webp|hdr)$/i.test(url)) {
              return <code>${contentBase}/shared/textures/${url.split('/').pop()}</code>
            }
        return url
    })
    

    Because of this, it would be nice if when exporting my gltf from Blender, I could not export the textures – I don’t need them. I just have to delete them every single time. Is this a feature that exists? Or can it be added?

    #87746

    Hi,
    You can write a simple Python script that will replace the URL paths inside the exported GLTF file (try any AI chat bot for that). Alternatively, you can replace all textures in Blender with dummy 1×1 images.

    Soft8Soft Tech Chief
    Want more Verge3D updates? Follow me on X, Facebook, or LinkedIn

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.