Files
raea/systems/phase/Cargo.toml
shinyobjectz 4103559dac FC2d: a mesh drawn again in a phase of its own, and compressed meshes; shader_advanced/custom_render_phase passes
<MeshPass shader> inside a mesh draws it again by your shader file as written, in a sorted phase after the camera's
main opaque pass, onto the colour target with no depth attachment and back faces culled, with Bevy's mesh view and
mesh bind groups: raea-sys-phase's MeshPass, Bevy's custom_render_phase stencil phase made a component. A mesh's
`compressed` prop compresses its geometry as Bevy's compressed_mesh(&MeshCompressionArgs::regular()) does
(raea-sys-mesh finished), so a shader reads its positions under VERTEX_POSITIONS_COMPRESSED; engine/render's mesh
build calls it in the same line, keyed on it.

The port is pixel-identical to Bevy at frames 5 and 10 (0 pixels differ). A 1 to 3 cm move of the sphere, camera or
cube still passes the SSIM bar but is 177 to 629 pixels off, so the exact match is the port's, not the bar's. The parity
host gets indexmap and nonmax, the example's own dependencies. 144 of 438 ported, 144 passing.
2026-11-08 13:28:22 -08:00

15 lines
534 B
TOML

[package]
name = "raea-sys-phase"
version = "0.1.0"
edition = "2024"
license = "FSL-1.1-ALv2"
publish = false
description = "Your own draw in a camera's phase (docs/control.feature FC2d): a pipeline of your shader file as written, drawing your vertex and index buffers in Opaque3d, as Bevy's custom_phase_item queues one"
[dependencies]
bevy = { version = "=0.20.0", default-features = false, features = ["std", "default_app", "3d_bevy_render"] }
bytemuck = "1"
indexmap = "2"
nonmax = "0.5"
raea-sys-shader = { path = "../shader" }