Index of every page on this site: llms.txt
All skills
Run it yourself

Gives an existing GLSL glass shader a frosted, satin, micro-rough finish with broad soft highlights and a diffused view through the glass, by adjusting its existing specular, refraction, reflection and iridescence code. Use when the user runs /frost or asks for frosted, satin, sandblasted, etched, matte or acid-etched glass.

  • 1 file
  • 3.2 KB
  • Updated 2 weeks ago
  • GitHub
Use this Skill: https://skilld.dev/gh/playful-design/liquid-glass-skill/frost

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈83 tokens for metadata: the name and description. ≈737 when used: this file.

Description uses 4.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈334 characters, or 4.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

/frost: micro-rough, diffusing glass finish

Design intent: this skill is about the finish of the surface. The microsurface is rough, so light scatters at the interface: the view through the glass and the reflections go soft, highlights spread into broad glows, thin-film color washes out. The body (color, density) and the surface shape stay the same. Frost does not mean noisy, grainy or opaque.

This skill builds on the pipeline described in the /glsl-liquid-glass skill and only adjusts what that pipeline already contains.

1. Inspect first

Read the whole shader before editing. Map each parameter to its role from the code:

  • Blinn-Phong specular exponents and intensities, rim term
  • the refract calls and the sampleEnv calls they feed (per channel)
  • reflection sampling sampleEnv(R, …)
  • iridescence blend on reflections
  • any existing blur / roughness / tap-count parameter: if one exists, increase it and add nothing else

Never add new functions or uniforms.

2. Levers (priority order)

Lever Direction Kind
Specular exponents lower substantially (e.g. key 180 → 30–50, fill 90 → 20–30) Artistic approximation of roughness
Specular intensities lower in proportion to (n + 8), keeping total highlight energy similar Physically motivated (energy conservation)
Refraction blur only if none exists: inline loop averaging 4–8 taps of the existing per-channel refract + sampleEnv, each with N tilted by a fixed offset at evenly spaced angles (radius ≈ 0.05 satin → 0.14 sandblasted). No hash, no random Approximation of interface scattering
Reflection blur same taps applied to reflect(-V, Nk), inside the same loop Approximation
Rim term lower exponent and intensity Artistic
Iridescence blend reduce clearly (≈ 0.65 → 0.25–0.35) Artistic: scattering washes out thin-film color

3. Do not touch

  • Absorption, thickness, valley shading: frost is a surface property, not a body property (that is /translucent).
  • IOR values and dispersion order: dispersion softens through the blur on its own.
  • Fresnel form and F0.
  • Height field, bumpStrength: never fake roughness with noise in the height or normals.
  • Environment, lights, camera, vignette, exposure, tone mapping, gamma.

4. Keep it physically coherent

  • Keep reflection and refraction blended by Fresnel; keep pipeline order and function structure.
  • Deterministic and stable over time.
  • State the performance cost: about N× the environment sampling for N taps. If the radius is above ≈ 0.12, use 8 taps to avoid visible ghost images.

5. Output

  • Unless told otherwise, save a new file next to the original (<name>.frost.glsl); leave the original unchanged.
  • Add a short header comment listing the changes.
  • Report a table: parameter | before | after | physical or artistic | why, plus anything skipped because it didn't exist.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 17cf2ba. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 weeks ago

README badge

README badge for playful-design/liquid-glass-skill/frost