# Procedural terrain rendering for indie game

**URL:** <https://discourse.threejs.org/t/procedural-terrain-rendering-for-indie-game/56969>\
**Category:** Showcase\
**Created:** [October 13, 2023, 8:10am UTC](https://discourse.threejs.org/t/procedural-terrain-rendering-for-indie-game/56969 "2023-10-13T08:10:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pirratas](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/pirratas/32/40901_2.png) [@pirratas](https://discourse.threejs.org/u/pirratas)\
**Post date:** [October 13, 2023, 8:10am UTC](https://discourse.threejs.org/t/procedural-terrain-rendering-for-indie-game/56969/1 "2023-10-13T08:10:44Z")

</div>

Hi guys,

I want to showcase my work on rendering water and terrain in a procedural manner using a lot of tricks. You may try it on [https://pirratas.com](https://pirratas.com)

The textures we used to render the terrain, the water caustics and foam and some random textures for uv displacements and so forth. We also use the depth buffer as a pre render phase to render foam on dynamic objects. This was explored and used previously on these forum, thank you.

 ![547069f56c2f40628c4581a6276608bb.Collage](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/a/c/ac582137d362392ee47100b725fd7f54d9aa8534.jpeg)

We do a lot more with our engine, resource management, space partitioning, collision detection, object editing, hightmap drawing on a canvas and so on. To further details you might be interested on watching our editor and explanations on youtube: [https://youtu.be/SNuoLlCsWYU](https://youtu.be/SNuoLlCsWYU)

Thank you

---

<div class="post-metadata">

**Author:** ![Quan\_Le](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/quan_le/32/36133_2.png) [@Quan\_Le](https://discourse.threejs.org/u/Quan_Le)\
**Post date:** [October 26, 2023, 8:49am UTC](https://discourse.threejs.org/t/procedural-terrain-rendering-for-indie-game/56969/2 "2023-10-26T08:49:01Z")

</div>

So cute! I really enjoy the game! 😊

---

<div class="post-metadata">

**Author:** ![Agustin\_Costa\_Cimadevilla](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/agustin_costa_cimadevilla/32/19320_2.png) [@Agustin\_Costa\_Cimadevilla](https://discourse.threejs.org/u/Agustin_Costa_Cimadevilla)\
**Post date:** [October 26, 2023, 2:07pm UTC](https://discourse.threejs.org/t/procedural-terrain-rendering-for-indie-game/56969/3 "2023-10-26T14:07:38Z")

</div>

Hurrra! It´s a great user experience. The textures are s good and the moves are smooth. Very interesting way to create the textures also. thanks

---

<div class="post-metadata">

**Author:** ![pirratas](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/pirratas/32/40901_2.png) [@pirratas](https://discourse.threejs.org/u/pirratas)\
**Post date:** [October 27, 2023, 5:14pm UTC](https://discourse.threejs.org/t/procedural-terrain-rendering-for-indie-game/56969/4 "2023-10-27T17:14:05Z")

</div>

The demo and final game will be localized in chinese. The idea is to have a fully working demo of 21 short level for the end of 2024. We will need testers 😁

---

<div class="post-metadata">

**Author:** ![pirratas](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/pirratas/32/40901_2.png) [@pirratas](https://discourse.threejs.org/u/pirratas)\
**Post date:** [October 27, 2023, 5:17pm UTC](https://discourse.threejs.org/t/procedural-terrain-rendering-for-indie-game/56969/5 "2023-10-27T17:17:20Z")

</div>

The ship is from our artist, the rest is mine and subject to change. I want to lunch a game in steam in 2025 or 2026. Thank you for your feedback, please consider joining our discord server or social accounts for updates [https://discord.gg/gWPdfwFKqJ](https://discord.gg/gWPdfwFKqJ)
