GithubHelp home page GithubHelp logo

Comments (4)

Nilirad avatar Nilirad commented on May 28, 2024

Given the latest news about the new renderer, I think it's best to wait for it, especially because bevy_webgl2 will be permanently broken by the new design (as bevyengine/bevy#2351 states).

However, if someone wants to fix this now, feel free to make a PR.

from bevy_prototype_lyon.

camblomquist avatar camblomquist commented on May 28, 2024

After spending too long fiddling around, I have no solutions but will say that I was wrong in including those warning messages. I don't see them in the first test scenario, so they appear to be unrelated.

from bevy_prototype_lyon.

rparrett avatar rparrett commented on May 28, 2024

I was able to reproduce this.

However, the main issue seems to be that bevy_webgl2_app_template is depending on an old release of bevy_webgl2. After updating that to 0.5.2, rendering generally works again.

There does seem to be some sort of issue when mixing in PbrBundles (z-fighting?), and with strokes and 3d cameras. But I think the first thing is pretty likely to be a bevy_webgl2 bug and I don't know if very many people are trying to do that.

image

from bevy_prototype_lyon.

rparrett avatar rparrett commented on May 28, 2024

It seems bit odd, because it's my understanding thatbevy_webgl2 = {version="0.5.0", optional=true} should bring in 0.5.2.

But the steps of

  • Clone bevy_webgl2_app_template
  • Add bevy_protototype_lyon readme example (minus the 2d camera)
  • Build for web

Seem to get me

   Compiling bevy v0.5.0
   Compiling bevy_prototype_lyon v0.3.1
   Compiling bevy_webgl2 v0.5.0

And explicitly specifying

[dependencies]
bevy_webgl2 = {version="0.5.2", optional=true}

Makes things work

   Compiling bevy_webgl2 v0.5.2

from bevy_prototype_lyon.

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.