Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In 1108 improve cesium picking with non gpu buffer tree #4

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
3 changes: 2 additions & 1 deletion packages/engine/Source/Scene/Model/Model.js
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,8 @@ function processLoader(model, frameState) {
if (!model._resourcesLoaded || !model._texturesLoaded) {
// Ensures frames continue to render in requestRender mode while resources are processing
frameState.afterRender.push(() => true);
return model._loader.process(frameState);
// use modelMatrix because model.referenceMatrix is the clipping plane matrix and thus really fucky
return model._loader.process(frameState, model.modelMatrix);
}

return true;
Expand Down
Loading