frost
/frost
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.
- Author
- Playful-Design ↗
- Repository
- liquid-glass-skill ↗
- Licence
- MIT
- Last repository change
- 11.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
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.
Original author description
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.
How it works
- 1. Inspect first
- 2. Levers (priority order)
- 3. Do not touch
- 4. Keep it physically coherent
- 5. Output
SKILL.md preview
--- name: frost description: 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. --- # /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.
Versions
The database has no other skills named frost.
Database snapshot: 13.11.2026 · package version e592e5afa9d4 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100polished
Gives an existing GLSL glass shader a crisp, mirror-polished finish with tight bright highlights and sharp reflections by adjusting only its existing specular, reflection, Fresnel-weighting and iridescence parameters. Use when the user runs /polished or asks for polished,… - 100glsl-liquid-glass
Architectural, optical, and physical specifications for programming an iridescent Liquid Glass GLSL shader (mainImage) with thin-film iridescence, Fresnel reflection, RGB chromatic dispersion, Beer-Lambert absorption, dual Blinn-Phong specular lighting, and ACES tone mapping.… - 100liquid-glass
Add a physically based, Apple-style Liquid Glass effect (real Snell refraction on a curved bevel, spectral dispersion, Fresnel reflection, content-tinted specular rim, liquid merging, light/dark adaptivity) to any website or web app, and pick refraction index, thickness, bezel,… - 100g1455
Build Flutter UI with g1455, the Liquid Glass package (iOS 26 style glass: refraction, blur, tint, rim). Use when a Flutter project depends on g1455 or imports package:g1455, when code uses GlassHost, GlassSurface, GlassBar, GlassCard, GlassButton, GlassTabBar, GlassSwitch,… - 95liquid-glass
Build real liquid-glass UI for the web — runtime SDF displacement refraction, RGB channel dispersion, and light-reactive specular, with a frosted fallback. Use when the user asks for liquid glass, glassmorphism with real refraction, an Apple-style glass dock/panel/card, or says… - 100shader-core-glsl
Use to write or debug GLSL shaders, uniforms, ShaderMaterial and WebGL color/UV bugs; not WebGPU TSL or shader QA.