Add surfaceDisplacementEnabled to water material tests and validation

This commit is contained in:
2026-04-07 07:22:13 +02:00
parent 0b4c144090
commit c82d547dd8
7 changed files with 25 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ describe("resolveUnderwaterFogState", () => {
expect(fogState).not.toBeNull();
expect(fogState?.colorHex).toBe("#347aa0");
expect(fogState?.density ?? 0).toBeCloseTo(0.03352, 5);
expect(fogState?.density ?? 0).toBeCloseTo(0.08295, 5);
});
it("does not enable fog when the camera is not submerged", () => {