Fix double scaling (#3934)

This commit is contained in:
Beuc
2020-08-27 01:24:33 +02:00
committed by GitHub
parent ab7c0a62fc
commit f54e18fef0

View File

@@ -332,7 +332,7 @@ most of the difficult stuff for you.
void vertex() {
vertex_position = VERTEX.xz / 2.0;
float height = texture(noise, vertex_position).x * height_scale;
float height = texture(noise, vertex_position).x;
VERTEX.y += height * height_scale;
}