Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make animate_shader example work on WASM #4814

Closed

Commits on May 21, 2022

  1. Make animate_shader example work on WASM

    Previously, it would draw nothing and complain with the following
    console warnings:
    
    Firefox:
    
    WebGL warning: drawElementsInstanced: Buffer for uniform block is smaller than UNIFORM_BLOCK_DATA_SIZE
    
    Chrome:
    
    [.WebGL-00003B081B72A300] GL_INVALID_OPERATION: It is undefined behaviour to use a uniform buffer that is too small.
    
    Issue: bevyengine#4813
    johanhelsing committed May 21, 2022
    Configuration menu
    Copy the full SHA
    26e7389 View commit details
    Browse the repository at this point in the history
  2. Adopt animate_shader after encase migration

    Use ShaderType/UniformBuffer
    johanhelsing committed May 21, 2022
    Configuration menu
    Copy the full SHA
    67aad46 View commit details
    Browse the repository at this point in the history