Robert Swain

Results 25 issues of Robert Swain

# Objective - Keep the shader-side definition of the `ViewUniform` struct in one place, in `bevy_render` - The long-term fix from #5512 and #5531 ## Solution - Move shader `View`...

C-Enhancement
A-Rendering
C-Code-Quality

# Objective - Similar to #5512 , the `View` struct definition in the shaders in `bevy_sprite` and `bevy_ui` were out of sync with the rust-side `ViewUniform`. Only `view_proj` was being...

C-Bug
A-Rendering

The documentation excludes all initialisation which makes it difficult to understand how to start using enoki. Examples of how to make arrays of vectors that are optimally formatted (in terms...

This is still not correct as can be seen in the image below, but I think it is close. It can surely be more optimised as it is likely calculating...

Something like this I think. In the test I was trying to use 1x1x1 lod0 chunks and a 2x2x2 superchunk and lod0 extent, thinking that it would downsample the 2x2x2...

In some WGSL shader code in bevy-hikari: ```rust struct VoxelBuffer { data: array; } ... [[group(3), binding(2)]] var voxel_buffer: VoxelBuffer; ... var packed = pack4x8unorm(vec4(color.rgb, color.a / 255.0)); let index...

kind: bug
lang: Metal
area: back-end

In a WGSL shader I added a global: ```rust var cube_face_rotation: array = array( mat4x4( vec4(...), ... ), ... ); ``` The cut down error output where the metal shader...

kind: bug
help wanted
lang: Metal
area: back-end

Bevy ECS is archetypal so adding/removing components from entities changes the archetype. If bevy_easings is used for many entities, does performance suffer significantly?

# Objective - Fixes #4019 - Fix lighting of double-sided materials when using a negative scale - The FlightHelmet.gltf model's hose uses a double-sided material. Loading the model with a...

C-Bug
A-Rendering
C-Breaking-Change

While hacking on optimisations for the `many_cubes -- sphere` example, I looked into some optimisations for the mesh entity object to world matrices. With frustum culling, the example results in...

A-Rendering
C-Performance