oframe/ogpu

Minimal WebGPU Library

138Stars on the repository
13Mods indexed here, across every type
21d agoLast push, which is what freshness is scored on
UnlicenseLicence, which decides whether bodies are shown

naga-setup

01

oframe/ogpu

Skill Claude CodeCodex

Get naga WGSL validation working in a repo — installs the naga/jq toolchain, a PostToolUse hook that compiles every .wgsl on write, and a batch validate-shaders script, so shader checking then happens automatically with no skill involved. Use for the setup act: "set up naga here", "add the shader validation hook"…

138 21d ago A 170 tokens original Unlicense

pbr-shading

02

oframe/ogpu

Skill Claude CodeCodex

Fold PBR/IBL shading into a RenderPipeline in the OGPU engine. Use whenever the user wants physically based shading, IBL, image-based lighting, metallic/roughness materials, an environment-lit mesh, "make this look like a real material", or wants to combine their own custom vertex/fragment work with the engine's PBR…

138 21d ago A 96 tokens original Unlicense

scaffold-app

03

oframe/ogpu

Skill Claude CodeCodex

Scaffold a new OGPU example/app from scratch — a Renderer + Camera + Orbit + update loop and a single spinning cube wired through the vanilla Box primitive -> RenderPipeline -> Mesh setup. Use whenever the user wants a new OGPU example, a base/starter scene, a blank WebGPU sketch in this repo, "scaffold an app", "new…

138 21d ago A 137 tokens original Unlicense

scaffold-shader

04

oframe/ogpu

Skill Claude CodeCodex

Scaffold a new simple WGSL shader for the OGPU engine, wired for a RenderPipeline + Mesh. Use whenever the user wants to create a new shader, start a shader from scratch, add a .wgsl file for a mesh, get a shader boilerplate/template/starting point, or "make me a basic shader" / "scaffold a shader". Produces a minimal…

138 21d ago A 102 tokens original Unlicense

shadow-mapping

05

oframe/ogpu

Skill Claude CodeCodex

Fold real-time shadow mapping into an existing RenderPipeline/shader in the OGPU engine. Use whenever the user wants cast shadows, a depth-pass / shadow-map shadow, a character or mesh to drop a shadow on a floor, self-shadowing, PCF soft shadows, "make it cast a shadow", "add shadows", or real-time shadows on a…

138 21d ago A 104 tokens original Unlicense

webgpu-spec-lookup

06

oframe/ogpu

Skill Claude CodeCodex

Ground any answer about the WebGPU platform itself — browser support/compatibility, feature availability, limits, what's shipping or behind a flag, and exact spec behavior — in the live Chrome WebGPU docs and the W3C spec before responding, instead of answering from memory. Use whenever a question is about WebGPU as a…

138 21d ago A 175 tokens original Unlicense

webgpu-utils-lookup

07

oframe/ogpu

Skill Claude CodeCodex

Ground any answer about the webgpu-utils library (greggman/webgpu-utils) in its actual API before responding. Use whenever a question or task touches a webgpu-utils function, class, or option — makeShaderDataDefinitions, makeStructuredView, createBuffersAndAttributesFromArrays, createTextureFromImage(s)/Source(s)…

138 21d ago A 178 tokens original Unlicense