After upgrading to bevy 0.11 everything is working fine. The only problem I have is with shaders. I am getting the errors
in terrain.wgsl:
34 │ out.world_position = mesh_position_local_to_world(mesh.model, vec4<f32>(vertex.position, 1.0)); │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown identifier │ = no definition in scope for identifier: 'mesh_position_local_to_world'
here I have imported in the top #import bevy_pbr::mesh_functions mesh_position_local_to_world, mesh_position_world_to_clip, mesh_normal_local_to_world
and
in water.wgsl
14 │ let t = globals.time % scroll_time; │ ^^^^^^^ unknown identifier │ = no definition in scope for identifier: 'globals'
here I have imported in the top #import bevy_sprite::mesh_view_bindings globals
Am I missing something?
Thank you for your help!