mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Fix double scaling (#3934)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user