Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

polished

/polished

Nadaje istniejącemu szklanemu shaderowi GLSL wypolerowany, lustrzany połysk, zmieniając tylko parametry odbić i Fresnela.

Licencja
MIT
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Nadaje istniejącemu szklanemu shaderowi GLSL wypolerowany, lustrzany połysk, zmieniając tylko parametry odbić i Fresnela.

Oryginalny opis (EN)

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, glossy, mirror-like, shiny, crisp, lacquered or high-gloss glass.

Jak działa

  1. 1. Inspect first
  2. 2. Levers (priority order)
  3. 3. Do not touch
  4. 4. Keep it physically coherent
  5. 5. Output
Sekcje z nagłówków SKILL.md, w oryginale · 43 linii, 440 słów
Podgląd SKILL.md
---
name: polished
description: 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, glossy, mirror-like, shiny, crisp, lacquered or high-gloss glass.
---

# /polished: crisp, mirror-finish glass

**Design intent:** this skill is about the **finish** of the surface, not its shape. The microsurface is perfectly polished: highlights become small, tight and intense; reflections of the studio softboxes are crisp and high-contrast; edges catch a clean bright rim. The body of the glass (color, density, transparency) and the surface shape stay the same. Polished does not mean blown-out or glaring.

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 (key, fill)
- rim term exponent and intensity
- reflection sampling (`sampleEnv(R, …)`) and any blur, tap loop or roughness already applied to it
- iridescence blend on reflections
- Fresnel form and `F0`

If a blur / roughness / multi-tap loop exists (e.g. from `/frost`), reduce its radius toward zero rather than deleting code. **Never add new functions or uniforms.**

## 2. Levers (priority order)
| Lever | Direction | Kind |
|---|---|---|
| Specular exponents | raise (e.g. key 180 → 300–400, fill 90 → 150–200) | Artistic approximation of a smoother microsurface |
| Specular intensities | raise in proportion to `(n + 8)`, so total highlight energy stays similar (narrower lobe → higher peak) | Physically motivated (energy conservation) |
| Existing reflection/refraction blur | reduce radius toward 0 if present | Approximation: polished surfaces don't scatter |
| Rim exponent | raise moderately so the halo tightens; lower its intensity slightly | Artistic: cleaner edge, less haze |
| Iridescence blend on reflections | keep or lower slightly, so reflections read as clean mirror images | Artistic |

## 3. Do not touch
- Height field, `bumpStrength`, `eps` (that is `/smooth` or `/textured`).
- `F0` and the Fresnel exponent: polish changes lobe sharpness, not base reflectance.
- IOR values, dispersion order and shifts.
- Absorption, thickness, valley shading.
- Environment, lights' directions, camera, vignette, exposure, tone mapping, gamma.

## 4. Keep it physically coherent
- Keep reflection and refraction blended by Fresnel; keep the pipeline order.
- Check that the tightest highlight still isn't a single-pixel sparkle that aliases: if it shimmers under animation, back the exponent off.
- Deterministic output, no noise.

## 5. Output
- Unless told otherwise, save a new file next to the original (`<name>.polished.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.

Wersje

W bazie nie ma innych skilli o nazwie polished.

Migawka bazy z 13.11.2026 · wersja paczki 49a55f7deee4 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100frost
    Nadaje istniejącemu szkłu w GLSL matowe, satynowe wykończenie z miękkimi odblaskami i rozproszonym widokiem przez szkło.
  • 100glsl-liquid-glass
    Podaje specyfikacje optyczne i fizyczne dla shadera GLSL płynnego szkła, z tęczowym połyskiem, Fresnelem i cieniowaniem.
  • 100shader-core-glsl
    Pisze i debuguje shadery GLSL, uniformy oraz błędy kolorów i UV w WebGL.
  • 100shader-programming
    Pisze shadery do gier od podstaw wspólnych dla silników: potok wierzchołek-fragment, przestrzenie współrzędnych, matematyka UV i efekty 2D i 3D, jak dissolve, outline, fresnel i winieta, w GLSL z odpowiednikami HLSL.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.