Dive Into WebGPU With This Comprehensive Tutorial Series
cgshares.com
Creative front-end developer Martin Laxenaire has wrapped up the fourth part of his detailed series, which focuses on creating a landing page featuring four separate WebGPU scenes. In this last part, building on previous content, youll learn how to make the most of the highly anticipated WebGPU feature: compute shaders. Martin demonstrates how to create a particle system animated with compute shaders and explains how 3D objects can cast and receive shadows using a shadow map, all built from scratch.If youre looking to sharpen your WebGPU skills, be sure to check out the previous parts, available for free. Each scene here uses its own HTML Canvas Element for rendering and explores different topics in detail.Heres a brief overview of the scenes and what you can learn:Draw multiple meshes, position them so they always fit in the viewport, and add a basic Lambert shader;Create a DOM-synced planes gallery and add a post-processing pass to distort them on a scroll;Load a glTF object, sync its size and position with an HTML element, add the ability to rotate it on drag, and change its base color when clicking on a set of buttons;Create a particle system using instanced billboarded quads, use compute shaders to set and update the particles positions and velocities, and finally add shadows.Dive into WebGPU with Martins expert guidance here and join our80 Level Talent platformand ournew Discord server, follow us on Instagram,Twitter,LinkedIn,Telegram,TikTok, andThreads, where we share breakdowns, the latest news, awesome artworks, and more.Source link The post Dive Into WebGPU With This Comprehensive Tutorial Series appeared first on CG SHARES.
0 Commentarii ·0 Distribuiri ·71 Views