We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 768ec61 + 4d8e8b5 commit 9112ccfCopy full SHA for 9112ccf
source/nodes/MapHeightNodeShader.ts
@@ -85,7 +85,7 @@ export class MapHeightNodeShader extends MapHeightNode
85
#include <fog_vertex>
86
87
// Calculate height of the title
88
- vec4 _theight = texture2D(heightMap, vUv);
+ vec4 _theight = texture2D(heightMap, vMapUv);
89
float _height = ((_theight.r * 255.0 * 65536.0 + _theight.g * 255.0 * 256.0 + _theight.b * 255.0) * 0.1) - 10000.0;
90
vec3 _transformed = position + _height * normal;
91
0 commit comments