diff --git a/src/ZeldaWindWaker/d_a.ts b/src/ZeldaWindWaker/d_a.ts index 4797d6943..ce7e3db49 100644 --- a/src/ZeldaWindWaker/d_a.ts +++ b/src/ZeldaWindWaker/d_a.ts @@ -1,6 +1,6 @@ import { ReadonlyMat4, ReadonlyVec3, mat4, quat, vec2, vec3 } from "gl-matrix"; -import { TransparentBlack, colorCopy, colorFromRGBA8, colorNewCopy, colorNewFromRGBA8 } from "../Color.js"; +import { TransparentBlack, White, colorCopy, colorFromRGBA8, colorNewCopy, colorNewFromRGBA8 } from "../Color.js"; import { J3DModelData, J3DModelInstance, buildEnvMtx } from "../Common/JSYSTEM/J3D/J3DGraphBase.js"; import { JointTransformInfo, LoopMode, TRK1, TTK1 } from "../Common/JSYSTEM/J3D/J3DLoader.js"; import { JPABaseEmitter, JPASetRMtxSTVecFromMtx } from "../Common/JSYSTEM/JPA.js"; @@ -5788,6 +5788,12 @@ class d_a_title extends fopAc_ac_c { } public override draw(globals: dGlobals, renderInstManager: GfxRenderInstManager, viewerInput: ViewerRenderInput): void { + // TODO: This should be a global immediate light set by the Opa2D draw list + const light = this.modelShip.getGXLightReference(0); + light.Position = [-35000.0, 0.0, -30000.0]; + light.Direction = [0, 0, 0]; + light.Color = White; + if (this.bpkShip.frameCtrl.getFrame() != 0.0) { this.bckShip.entry(this.modelShip); this.bpkShip.entry(this.modelShip);