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.

dimensions of `level_base` are not all positive.

Home Forums WebGL & WebXR Troubleshooting dimensions of `level_base` are not all positive.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32473
    GlifTek
    Customer

    i’m getting the message “WebGL warning: generateMipmap: The texture’s base level must be complete.” when trying a new different technique to get SVGs onto textures with using svg.js.

    then WebGL warning: drawElementsInstanced: TEXTURE_2D at unit 0 is incomplete: The dimensions of level_base are not all positive.

    these obviously are from what i’m doing but i’m wondering if anyone knows what i should be looking for as far as mistakes go

    thanks

    #32489

    Hi, those errors say that the svg image wasn’t properly loaded and something is wrong with its width/height (they are probably zeros).

    Co-founder and lead developer at Soft8Soft.

    #32532
    GlifTek
    Customer

    Hi, those errors say that the svg image wasn’t properly loaded and something is wrong with its width/height (they are probably zeros).

    Yea I was using 0,0 as my center for easy symmetry… But I fixed it Thais m thanks

    Svg.js is. Incredibly useful.

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