Skip to content

Commit 9112ccf

Browse files
authored
Merge pull request #93 from Avnerus/fix-shader-vuv
MapHeightNodeShader: rename vUv to vMapUv (three >= r151)
2 parents 768ec61 + 4d8e8b5 commit 9112ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/nodes/MapHeightNodeShader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class MapHeightNodeShader extends MapHeightNode
8585
#include <fog_vertex>
8686
8787
// Calculate height of the title
88-
vec4 _theight = texture2D(heightMap, vUv);
88+
vec4 _theight = texture2D(heightMap, vMapUv);
8989
float _height = ((_theight.r * 255.0 * 65536.0 + _theight.g * 255.0 * 256.0 + _theight.b * 255.0) * 0.1) - 10000.0;
9090
vec3 _transformed = position + _height * normal;
9191

0 commit comments

Comments
 (0)