Remove height provider from geo-three
This commit is contained in:
parent
233216c284
commit
b544c315b0
5 changed files with 152 additions and 11 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue