Add contact patches uniform to water material and update tests

This commit is contained in:
2026-04-06 18:03:32 +02:00
parent ab44a2b9c5
commit c7433820a4
2 changed files with 53 additions and 22 deletions

View File

@@ -108,5 +108,6 @@ describe("water material helpers", () => {
expect(material.uniforms["surfaceOpacity"]?.value).toBeGreaterThan(0.14);
expect(material.uniforms["waveStrength"]?.value).toBe(0.35);
expect(material.uniforms["isTopFace"]?.value).toBe(1);
expect(result.contactPatchesUniform?.value).toHaveLength(6);
});
});