Skip to content

Commit

Permalink
Flask
Browse files Browse the repository at this point in the history
Depth write
  • Loading branch information
jasonsturges committed Nov 17, 2024
1 parent c7713e7 commit 8d5cc8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/science/Flask.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {CylinderGeometry, Group, LatheGeometry, Mesh, MeshStandardMaterial, Vector2} from "three";
import { CylinderGeometry, Group, LatheGeometry, Mesh, MeshStandardMaterial, Vector2 } from "three";

class Flask extends Group {
constructor() {
Expand All @@ -24,6 +24,7 @@ class Flask extends Group {
opacity: 0.4,
roughness: 0.1,
metalness: 0.5,
depthWrite: false,
});

const corkMaterial = new MeshStandardMaterial({
Expand Down

0 comments on commit 8d5cc8d

Please sign in to comment.