Skip to content

Commit

Permalink
Enable antialising
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubidumdu committed Mar 20, 2024
1 parent 2305491 commit 1272a71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/visualizer/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ const init = async () => {

const canvas = document.getElementById('babylon') as HTMLCanvasElement;

const engine = new WebGPUEngine(canvas);
const engine = new WebGPUEngine(canvas, {
antialias: true,
});
await engine.initAsync();
const scene = new Scene(engine);

Expand Down

0 comments on commit 1272a71

Please sign in to comment.