Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: control the heightmap Y scale
Browse files Browse the repository at this point in the history
piellardj committed Jan 28, 2025
1 parent 146d0f5 commit 58a53a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/test-terrain.ts
Original file line number Diff line number Diff line change
@@ -255,6 +255,7 @@ return vec4(sampled.rgb / sampled.a, 1);
{
const lodFolder = this.gui.addFolder('LOD');
lodFolder.add(this.terrainViewer.parameters.lod, 'enabled');
lodFolder.add(heightmapViewer.container.scale, 'y', 0.00001, 1).name('Y scale');
lodFolder.add(this.terrainViewer.parameters.lod, 'wireframe');
lodFolder.open();
}

0 comments on commit 58a53a8

Please sign in to comment.