<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/from-0-to-gltf-with-webgpu-basic-materials-and-textures-rkiw3kkkf" -->

---
title: From 0 to glTF with WebGPU: Basic Materials and Textures
description: The post discusses how to load and use basic materials and textures in the glTF file format using WebGPU. It covers topics such as loading samplers, images,...
canonical: https://daily.dev/posts/from-0-to-gltf-with-webgpu-basic-materials-and-textures-rkiw3kkkf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: From 0 to glTF with WebGPU: Basic Materials and Textures | daily.dev
og:description: The post discusses how to load and use basic materials and textures in the glTF file format using WebGPU. It covers topics such as loading samplers, images,...
og:url: https://daily.dev/posts/from-0-to-gltf-with-webgpu-basic-materials-and-textures-rkiw3kkkf
og:image: https://api.daily.dev/og/posts/rkIW3KKKF.png
og:image:alt: From 0 to glTF with WebGPU: Basic Materials and Textures
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# From 0 to glTF with WebGPU: Basic Materials and Textures

**[Hacker News](https://daily.dev/sources/hn)** · 13 min read · 1 upvotes · 0 comments

## Summary

The post discusses how to load and use basic materials and textures in the glTF file format using WebGPU. It covers topics such as loading samplers, images, and textures, and how to pass material parameters to shaders.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.willusher.io/graphics/2024/04/28/0-to-gltf-basic-materials>

---

Tags: [#game-development](https://daily.dev/tags/game-development), [#webgpu](https://daily.dev/tags/webgpu)

[View this post on daily.dev](https://daily.dev/posts/from-0-to-gltf-with-webgpu-basic-materials-and-textures-rkiw3kkkf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"From 0 to glTF with WebGPU: Basic Materials and Textures","url":"https://daily.dev/posts/from-0-to-gltf-with-webgpu-basic-materials-and-textures-rkiw3kkkf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/from-0-to-gltf-with-webgpu-basic-materials-and-textures-rkiw3kkkf"},"datePublished":"2024-05-02T13:08:04.655Z","dateModified":"2024-05-09T08:58:27.770Z","description":"The post discusses how to load and use basic materials and textures in the glTF file format using WebGPU. It covers topics such as loading samplers, images,...","image":"https://willusherio.b-cdn.net/webgpu-0-to-gltf/basic-material-textures-ts-duck.png","thumbnailUrl":"https://willusherio.b-cdn.net/webgpu-0-to-gltf/basic-material-textures-ts-duck.png","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/from-0-to-gltf-with-webgpu-basic-materials-and-textures-rkiw3kkkf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"game-development,webgpu","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"From 0 to glTF with WebGPU: Basic Materials and Textures"}]}
```

