Weekly Video: Procedural Terrain with Raw Texture and Node Material

Hey everyone!

For this week’s video, it’s my turn to share something fun with you again! Did you know you can combine Raw Texture and Node Material to create procedural terrain? Oh man this is another fun one! Can’t wait to hear what you think about it.

Here’s the playground (note that this playground is different from what’s in the video. I made a small addition to the rawTexture constructor to work in WebGL 1):

Also, here’s a link to the wikipedia article describing the noise algorithm I used. Shoutout to @syntheticmagus for pointing me in the right direction towards this one.

Also forgive the goofiness of the home studio setup. hahaha


Thanks a lot @PirateJC great fun and well explained :+1:

1 Like

I agree… thx PJC and support team. Nice stuff… LOTS of demented further-experimenting can be done in THAT puppy.

Babylon.js Playground (same PG as mentioned earlier)

In that playground: BABYLON.NodeMaterial.ParseFromSnippetAsync(([snippetID]), scene)

I LOVE that line/command. There’s one at lines 33, 44, and 55.

Yum. NodeMaterial snippets. A guy could take over the world… with those. :slight_smile:

(Wingy dances around like an idiot, but almost soils himself, so he does something more gentle.)

1 Like