bevy/crates/bevy_render/src
Matthias Schiffer 5256561b7a OrthographicProjection: place origin at integer pixel with WindowSize scaling mode (#4085)
# Objective

One way to avoid texture atlas bleeding is to ensure that every vertex is
placed at an integer pixel coordinate. This is a particularly appealing
solution for regular structures like tile maps.

Doing so is currently harder than necessary when the WindowSize scaling
mode and Center origin are used: For odd window width or height, the
origin of the coordinate system is placed in the middle of a pixel at
some .5 offset.

## Solution

Avoid this issue by rounding the half width and height values.
2022-05-30 15:14:12 +00:00
..
camera OrthographicProjection: place origin at integer pixel with WindowSize scaling mode (#4085) 2022-05-30 15:14:12 +00:00
color Rename Color::as_hlsa_f32 to Color::as_hsla_f32 (#4827) 2022-05-25 17:46:58 +00:00
mesh Make accessors for mesh vertices and indices public. (#3906) 2022-05-09 13:19:33 +00:00
primitives Faster assign lights to clusters (#4345) 2022-04-15 02:53:20 +00:00
render_graph bevy_render: Support removal of nodes, edges, subgraphs (#3048) 2022-03-21 23:58:37 +00:00
render_phase Compute Pipeline Specialization (#3979) 2022-03-23 00:27:26 +00:00
render_resource Use uniform buffer usage for SkinnedMeshUniform instead of all usages (#4816) 2022-05-20 22:05:32 +00:00
renderer fix tracy frame marker placement (after preseting *all* windows) (#4731) 2022-05-12 18:39:20 +00:00
texture update image to 0.24 (#4121) 2022-05-28 02:00:55 +00:00
view Migrate to encase from crevice (#4339) 2022-05-18 21:09:21 +00:00
lib.rs Skip drop when needs_drop is false (#4773) 2022-05-17 04:16:55 +00:00
render_asset.rs Introduce SystemLabel's for RenderAssetPlugin, and change Image preparation system to run before others (#3917) 2022-03-29 19:44:45 +00:00
render_component.rs Migrate to encase from crevice (#4339) 2022-05-18 21:09:21 +00:00
settings.rs bevy_render: Use RenderDevice to get limits/features and expose AdapterInfo (#3931) 2022-02-16 21:17:37 +00:00