Coder Social home page Coder Social logo

Comments (7)

StarArawn avatar StarArawn commented on June 12, 2024 1

Yes! This is a known issue. It's due to a bug in wGPU which prevents us from creating a texture array in webGL 2. Even though it is possible.

from kayak_ui.

MrGVSV avatar MrGVSV commented on June 12, 2024 1

Hm. Did you set your font default in the FontMapping resource?

Edit: Didn't see Star's comment. Disregard this one haha.

from kayak_ui.

ChristopherBiscardi avatar ChristopherBiscardi commented on June 12, 2024

Is that this issue? gfx-rs/wgpu#2161

from kayak_ui.

StarArawn avatar StarArawn commented on June 12, 2024

Is that this issue? gfx-rs/wgpu#2161

No, I worked around that by avoiding numbers divisible by 6. I was working on tracking it down so I could provide an actual error to the WGPU team, but I got sidetracked. The issue occurs because of the copy_texture_to_texture wgpu command I'm using to copy data from an atlas to an array texture.

from kayak_ui.

MrGVSV avatar MrGVSV commented on June 12, 2024

No, I worked around that by avoiding numbers divisible by 6.

😳

from kayak_ui.

StarArawn avatar StarArawn commented on June 12, 2024

This might be more fixable as of bevy 0.8.

from kayak_ui.

StarArawn avatar StarArawn commented on June 12, 2024

This is now fixed when using TTF fonts directly! Take a look at the clipping example or the book to learn more. 👍

from kayak_ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.