Heightmap with WebGPU - Tutorial

Опубликовано: 02 Ноябрь 2024
на канале: Genka
2,062
48

Let's check out how a heightmap can be implemented with WebGPU. We generate a mesh for a flat surface, upload a heightmap texture and use it at the vertex shader programm to apply a height offset.

Github: https://github.com/tamani-coding/webg...

Don't forget to subscribe and like, if you wanna see more!

(00:00) - Intro
(00:17) - Heightmap Functionality
(01:03) - Generate a Flat Surface Mesh
(01:56) - Renderer and Rendering Pipeline of an Object
(03:09) - Vertex Shader Stage with Hightmap
(05:48) - Height Info at Fragment Stage
(06:30) - Outro