Skip to content

CesiumGS/cesiumjs-skills / skills/cesiumjs-custom-shader

cesiumjs-custom-shader

Verified

CustomShader authoring — vertexShaderText and fragmentShaderText against VertexInput, FragmentInput, FeatureIds, Metadata, czm_modelMaterial. Use when reading EXT_mesh_features or EXT_structural_metadata property textures/tables, vertex displacement, or shading VoxelPrimitive.

examples/README.md

View on GitHub
# Custom Shader Examples

Compile-tested snippets referenced from `../SKILL.md`.

## Layout

- `0N-<name>.js` — the **user-facing snippet**. Imports from `cesium`, creates a `CustomShader`, and shows the attachment call. No viewer boilerplate. These are what the skill links to.
- `_sandcastle-template.html` — internal scaffold used **only during compile-testing**. Each `.js` snippet is injected into this template and opened in Sandcastle to verify it renders without GLSL errors. Underscore prefix marks it as non-product tooling.

## Assets

All assets are fetched from public `raw.githubusercontent.com` URLs — no Ion token required. The specific dataset each example uses is documented in the snippet's opening comment.

## Running locally

1. Open `https://sandcastle.cesium.com/`.
2. Paste `_sandcastle-template.html` into the HTML tab.
3. Paste one of the `0N-*.js` snippets into the JS tab inside the marked `// <-- snippet -->` region.
4. Click **Run**.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall