mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
d95d20f4b1
# Objective the pbr prepass vertex shader currently only sets `VertexOutput::world_position` when deferred or motion prepasses are enabled. the field is always in the vertex output so is otherwise undetermined, and the calculation is very cheap. ## Solution always set the world position in the pbr prepass vert shader. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |