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

Support shadow fade #1960

Merged
merged 14 commits into from
Jan 17, 2024
Prev Previous commit
Next Next commit
Merge branch 'dev/1.2' into feat/shadow-fade
zhuxudong committed Jan 17, 2024
commit 5a3fd6b4f786762b05afef37a58652ad65a97668
4 changes: 1 addition & 3 deletions e2e/case/shadow-basic.ts
Original file line number Diff line number Diff line change
@@ -51,8 +51,6 @@ WebGLEngine.create({ canvas: "canvas" }).then((engine) => {
animator.play(asset.animations[0].name);

updateForE2E(engine, 500);
const category = "Shadow";
const name = "shadow-basic";
initScreenshot(category, name, engine, camera);
initScreenshot(engine, camera);
});
});
7 changes: 7 additions & 0 deletions e2e/config.ts
Original file line number Diff line number Diff line change
@@ -89,5 +89,12 @@ export const E2E_CONFIG = {
caseFileName: "material-unlit",
threshold: 0.2
}
},
Shadow: {
basic: {
category: "Shadow",
caseFileName: "shadow-basic",
threshold: 0.2
}
}
};
5 changes: 0 additions & 5 deletions e2e/tests/shadow.cy.ts

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -68,5 +68,6 @@
"eslint --fix",
"git add"
]
}
}
},
"repository": "git@github.com:galacean/runtime.git"
}
You are viewing a condensed version of this merge commit. You can view the full changes here.