Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix morph target prepass shader (bevyengine#9013)
# Objective Since 10f5c92, shadows were broken for models with morph target. When bevyengine#5703 was merged, the morph target code in `render/mesh.wgsl` was correctly updated to use the new import syntax. However, similar code exists in `prepass/prepass.wgsl`, but it was never update. (the reason code is duplicated is that the `Vertex` struct is different for both files). ## Solution Update the code, so that shadows render correctly with morph targets.
- Loading branch information