Remove height provider from geo-three

This commit is contained in:
Fuhrmann 2025-04-01 14:38:07 +02:00
commit b544c315b0
5 changed files with 152 additions and 11 deletions

View file

@ -112,7 +112,7 @@ export class CustomMapHeightNodeShader extends MapHeightNode {
};
material.onBeforeCompile = (shader) => {
// Pass uniforms from userData to the
// Pass uniforms from userData
for (const i in material.userData) {
shader.uniforms[i] = material.userData[i];
}