Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples > Adds TSL procedural terrain example #28999

Merged
merged 5 commits into from
Jul 29, 2024

Conversation

brunosimon
Copy link
Contributor

Description

Adds WebGPU/TSL procedural terrain example based on Three.js Journey lesson.

localhost_8083_examples_webgpu_tsl_procedural_terrain html

A few things to note

  • I added the screenshot to the exceptions since I can't generate one that works with the tests.
  • The drag part might be a little too much. Please tell me what you think.
  • @sunag there is a warning whenever we remove the normal attribute from the geometry, but in this case it's on purpose.
  • @sunag when doing a loop() I had to put the start value in a float() otherwise it breaks on windows. I thought you wanted to know.
loop( { type: 'float', start: float( 1 ), end: noiseIterations.toFloat(), condition: '<=' }, ( { i } ) => {
    // ...
} );

@sunag sunag added this to the r168 milestone Jul 27, 2024
@sunag sunag merged commit 1e47409 into mrdoob:dev Jul 29, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants