Skip to content

Commit

Permalink
Update blackHolePostProcess.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
BarthPaleologue committed Sep 15, 2024
1 parent 9e36bd3 commit fe094c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ts/stellarObjects/blackHole/blackHolePostProcess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.

import blackHoleFragment from "../../../shaders/blackhole.glsl";
import { ObjectPostProcess } from "../../postProcesses/objectPostProcess";
import { ObjectPostProcess, UpdatablePostProcess } from "../../postProcesses/objectPostProcess";
import { Effect } from "@babylonjs/core/Materials/effect";
import { getForwardDirection } from "../../uberCore/transforms/basicTransform";
import { BlackHole } from "./blackHole";
Expand All @@ -37,7 +37,7 @@ export type BlackHoleUniforms = {
time: number;
};

export class BlackHolePostProcess extends PostProcess implements ObjectPostProcess {
export class BlackHolePostProcess extends PostProcess implements ObjectPostProcess, UpdatablePostProcess {
readonly blackHoleUniforms: BlackHoleUniforms;
readonly object: BlackHole;

Expand Down

0 comments on commit fe094c0

Please sign in to comment.