Showing the changes to libraries/render-utils/src/MeshPartPayload.cpp (1 of 5 files). Show all
Unified · Split
| @@ -501,7 +501,6 @@ void ModelMeshPartPayload::bindMesh(gpu::Batch& batch) { · 500 unmodified lines | |||
| 501 | } | 501 | } |
| 502 | 502 | ||
| 503 | void ModelMeshPartPayload::bindTransform(gpu::Batch& batch, const ShapePipeline::LocationsPointer locations, RenderArgs::RenderMode renderMode) const { | 503 | void ModelMeshPartPayload::bindTransform(gpu::Batch& batch, const ShapePipeline::LocationsPointer locations, RenderArgs::RenderMode renderMode) const { |
| 504 | // Still relying on the raw data from the model | ||
| 505 | if (_clusterBuffer) { | 504 | if (_clusterBuffer) { |
| 506 | batch.setUniformBuffer(ShapePipeline::Slot::BUFFER::SKINNING, _clusterBuffer); | 505 | batch.setUniformBuffer(ShapePipeline::Slot::BUFFER::SKINNING, _clusterBuffer); |
| 507 | } | 506 | } |