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

Makes an existing GLSL glass shader translucent, letting light through as a soft milky glow while hiding a clear view of what lies behind, by adjusting its existing absorption and refraction sampling. Use when the user runs /translucent or asks for translucent, milky, opalescent, cloudy, alabaster, jade-like or light-diffusing glass.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈87 tokens for metadata: the name and description. ≈766 when used: this file.

Description uses 4.4% 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 ≈349 characters, or 4.4%.

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.

/translucent: milky, light-diffusing glass body

Design intent: this skill is about the body of the glass. Light enters and scatters inside the volume, so the glass glows softly with its own tint, and what lies behind is no longer readable. Thick areas look denser and more saturated, thin areas lighter. The surface finish stays the same: highlights and Fresnel reflections remain as sharp as before, sitting on top of the soft body. Translucent does not mean frosted (rough surface) or opaque (no light through).

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:

  • Beer-Lambert absorption coefficients and the path-length multiplier
  • thickness formula and valley shading
  • the per-channel refract calls and the sampleEnv calls they feed
  • the ambient gradient inside sampleEnv (read only; used to understand the base level of light)
  • any existing refraction blur loop (e.g. from /frost): if one exists, reuse it and add nothing else

Never add new functions or uniforms.

2. Levers (priority order)

Lever Direction Kind
Refraction blur (wide) if none exists: inline loop averaging 6–8 taps of the existing per-channel refract + sampleEnv, N tilted by a fixed offset at evenly spaced angles, radius larger than frost (≈ 0.18–0.30) so the background dissolves. No hash, no random. Refraction only, not reflection Approximation of volume scattering
Absorption balance make coefficients closer to each other and moderately lower overall, so the tint is soft and pastel rather than deep Physical (scattering-dominated rather than absorption-dominated medium)
Path-length multiplier keep or raise slightly so thickness differences read as density Physical
Valley shading keep; optionally lower its floor a little to strengthen the thick-is-denser cue Artistic depth cue

3. Do not touch

  • Specular exponents and intensities, rim, reflection sampling: the surface stays glossy (otherwise it is /frost).
  • IOR values and dispersion order (dispersion fades through the blur on its own).
  • Fresnel form and F0.
  • Height field, bumpStrength.
  • Iridescence blend, environment, lights, camera, vignette, exposure, tone mapping, gamma.

4. Keep it physically coherent

  • Transmittance stays exp(-absorption * thickness * k) ≤ 1; no added emission or constant brightness lift.
  • Keep reflection and refraction blended by Fresnel; keep pipeline order.
  • Deterministic and stable over time.
  • State the performance cost: about N× the refraction sampling for N taps.

5. Output

  • Unless told otherwise, save a new file next to the original (<name>.translucent.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/translucent