Advanced WebGPU Glass Material Built with Three.js and Codex

X postViktor OddyDemo

Viktor Oddy showcases an advanced WebGPU glass material built with Codex and Three.js, alongside an interactive live demo.

Key points

  1. Creation of an advanced glass material using WebGPU and Three.js.
  2. Codex was utilised to assist in building the material and shaders.
  3. A live demo titled Terranova — Signals from the Deep Green is hosted on Vercel.
  4. The author links to a repository of prompts for web design and 3D implementations.

Why it matters

The combination of WebGPU and AI code generation tools like Codex simplifies the implementation of complex 3D shader effects within modern web applications.

Analysis

The showcase highlights how WebGPU in the Three.js ecosystem is applied to high-fidelity visual rendering, such as refraction and glass surfaces. It also serves as promotional material for a collection of curated prompts targeting web developers.

Original post

Viktor Oddy

@viktoroddy · 17 August 2026

Made a WebGPU Advanced Glass Material with Codex and @threejs Live: t.co/NzLIO1J8LK 👇 Prompt below t.co/dYsj5hwa8j

491 likes12 replies450 bookmarks32k views

View on X
More posts in the thread (1)
  1. @threejs ❤️🔥 Accessing this prompt, as well as 500+ award-winning website prompts in one click: t.co/kIbjPV7fNW t.co/rrJMMJMnXR
Selected replies (5)
  • @Aish2004Gupta @viktoroddy @threejs t.co/b7h4h2sMOV
  • @The_AI_Wave_ @viktoroddy @threejs how much of the shader did codex get right before you had to start fixing it by hand?
  • @Aish2004Gupta @viktoroddy @threejs Just a orb t.co/gQYuD97h3b
  • @orcusbtc @viktoroddy @threejs @chainqueenverse
  • @GeniusPothead @viktoroddy @threejs WebGPU plus Codex is making premium glass interfaces way more accessible

Links and tools from this entry

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:img2threejs/img2threejs

    img2threejs: Procedural Code-Only Image-to-3D for Three.js

    img2threejs turns reference images into procedural, animation-ready Three.js models generated purely as code, avoiding traditional mesh extraction or photogrammetry.

    15.1kstarsPython

    AI & LLMs· Tool

  • X post:Harshit

    Open-source branding lab mixes shaders with branding assets

    Developer Harshit showcases a side project that evolved into a branding lab tool. The project combines graphic shaders with brand assets and is part of an open-source product.

    571bookmarks21.1kviews

    Web development· Tool

  • X post:Eric Buess

    Code-Driven Video and 3D Visualisation with Opus 5.5

    Eric Buess curates a thread of community demonstrations showcasing how Opus 5.5 and Claude Code produce videos, 3D scenes, and interactive educational graphics, frequently relying entirely on programmatically generated code rather than traditional diffusion models.

    176bookmarks77.3kviews

    AI & LLMs· Demo

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.