Fähigkeiten threejs-shaders
📦

threejs-shaders

Inhaltsrevision r1 Sicher ⚙️ Externe Befehle

Build Three.js Shaders with GLSL and TSL

Custom Three.js effects require careful handling of shader inputs, color conversion, and renderer compatibility. This skill provides GLSL and TSL examples for building effects and diagnosing common material errors.

Unterstützt: Claude Codex Code(CC)
Maintain this Skill? Claim it 📊 73 Angemessen

Mit meinem Agent installieren

Kopieren Sie diese Anfrage in Ihren Agent. Sie enthält die maßgebliche Skill-Seite und das Manifest.

Agent-Anfrage
Review the Skillstore skill "threejs-shaders" from https://skillstore.io/skills/cloudai-x-threejs-shaders.md and its manifest at https://skillstore.io/api/skills/cloudai-x-threejs-shaders/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Ihr Agent sollte weiterhin seinen Plan anzeigen und alle von der Sicherheitsrichtlinie verlangten Bestätigungen anfordern.

Agent-lesbare Ressourcen

Verwenden Sie diese Links, wenn ein KI-Agent, Crawler oder Skript sauberen Kontext benötigt, statt die vollständige Seite zu lesen.

Testen

„threejs-shaders“ wird verwendet. My ShaderMaterial renders darker than a built-in material with the same color.

Erwartetes Ergebnis:

  • Color uniforms created with THREE.Color hold linear values.
  • Apply the tone mapping and color space chunks after writing the fragment color.
  • Check the render target and output pass before adding another color conversion.

„threejs-shaders“ wird verwendet. My custom ShaderMaterial stops working after switching to WebGPURenderer.

Erwartetes Ergebnis:

  • ShaderMaterial and onBeforeCompile belong to the WebGLRenderer workflow.
  • Use MeshBasicNodeMaterial for an unlit effect or MeshStandardNodeMaterial for a lit effect.
  • Rewrite the effect using TSL nodes and reusable functions instead of passing GLSL shader strings.

„threejs-shaders“ wird verwendet. All instances overlap when I use my own vertex shader.

Erwartetes Ergebnis:

  • Declaring an InstancedMesh does not apply its instance transforms inside a custom shader.
  • Apply instanceMatrix before the model-view and projection transforms.
  • Custom offset attributes also require bounds that account for the displacement.

Sicherheitsaudit

Sicher
v1 • 7.11.2026 Versionsbericht öffnen

All 118 static findings are false positives from Markdown formatting, JavaScript shader strings, GLSL entry points, and shader chunk keys. The reviewed documentation contains rendering examples and relative texture loads, with no evidence of shell execution, credential access, reconnaissance, or prompt injection. No evidence found of malicious intent or additional semantic security risks.

1
Gescannte Dateien
498
Analysierte Zeilen
0
Prüfelemente
0
Falschmeldungen ignoriert
Das letzte abgeschlossene statische und semantische Audit erkannte keine bestätigten Sicherheitsbefunde. Dies beweist nicht, dass der Skill keine Nebenwirkungen hat.
Geprüft von: codex
Diesen Bericht teilen & zitieren

Teile den versionierten Bewertungsbericht, das neutrale Badge, die Einbettungskarte und Zitate. Skillstore berichtet Nachweise, ohne zu entscheiden, ob dieser Skill sicher ist.

Versionsbericht öffnen
Sicherheitsbewertung

Berichtslink kopieren

https://skillstore.io/skills/cloudai-x-threejs-shaders/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown-Badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/cloudai-x-threejs-shaders/security.svg)](https://skillstore.io/skills/cloudai-x-threejs-shaders?utm_source=security_passport_badge)

HTML-Badge

<a href="https://skillstore.io/skills/cloudai-x-threejs-shaders?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/cloudai-x-threejs-shaders/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Einbettungskarte

<iframe src="https://skillstore.io/embed/skills/cloudai-x-threejs-shaders.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Wissenschaftliche Zitate (APA · BibTeX · CFF)

APA-Zitat

cloudai-x. (2026). threejs-shaders security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/cloudai-x-threejs-shaders/audits/1

BibTeX-Zitat

@techreport{cloudai-x-cloudai-x-threejs-shaders-2026, author = {cloudai-x}, title = {threejs-shaders security audit report (audit version 1)}, institution = {Skillstore}, year = {2026}, number = {1}, url = {https://skillstore.io/skills/cloudai-x-threejs-shaders/audits/1}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "threejs-shaders security audit report (audit version 1)" version: "unspecified" type: report authors: - name: "cloudai-x" date-released: "2026-11-07" url: "https://skillstore.io/skills/cloudai-x-threejs-shaders/audits/1" identifiers: - type: other value: "skillstore:cloudai-x-threejs-shaders:audit:1" description: "Skillstore immutable audit report identifier"

Skillstore-Score

Warum dieser Score Evidenzvertrauen: Mittel
55
Architektur
65
Wartbarkeit
87
Inhalt
65
Gemeinschaft
74
Spezifikationskonformität

Was Sie erstellen können

Add Animated Product Materials

Create color waves, displacement, or Fresnel effects while keeping shader uniforms and color conversion consistent.

Prototype Game Visual Effects

Adapt dissolve shaders and custom instanced attributes for scene objects, then inspect shader errors and coordinate spaces.

Migrate Effects to TSL

Translate GLSL effects into node materials and reusable TSL functions for WebGPURenderer with its WebGL 2 fallback.

Diese Prompts ausprobieren

Create a First Shader
Use threejs-shaders to create an animated color wave on a plane in Three.js r186 with WebGLRenderer. Include time uniforms and output color conversion.
Diagnose a Material Problem
Review my Three.js r186 shader: [paste shader and renderer setup]. Diagnose dark colors, missing uniform declarations, and coordinate-space mismatches. Explain the required corrections.
Extend a Lit Material
Add animated vertex displacement to my r186 MeshStandardMaterial with onBeforeCompile: [paste material setup]. Preserve lighting and use distinct program cache keys for shader variants.
Port a Dissolve Effect
Port this GLSL dissolve effect to a reusable TSL Fn for Three.js r186: [paste shader]. Use WebGPURenderer, updatable progress, and portable texture sampling. Identify backend-specific assumptions.

Bewährte Praktiken

  • Check the installed Three.js release and renderer backend before choosing GLSL shaders or TSL node materials.
  • Keep lighting vectors in one coordinate space and verify texture color spaces before adjusting shader colors.
  • Inspect compiled shader errors and visualize intermediate values before adding more effect logic.

Vermeiden

  • Use ShaderMaterial or onBeforeCompile under WebGPURenderer instead of selecting node materials.
  • Mix world-space camera directions with view-space normals when calculating Fresnel or rim lighting.
  • Copy obsolete shader chunk names or TSL imports without checking the targeted release.

Häufig gestellte Fragen

Which Three.js version does this skill target?
The documentation targets Three.js r186. Check APIs and shader chunk names when using another release.
Can I use it with Claude, Codex, and Claude Code?
Yes. The skill provides Markdown guidance and examples for these assistants, rather than a separate executable tool.
Does ShaderMaterial work with WebGPURenderer?
No. The skill directs WebGPURenderer users to TSL node materials instead of ShaderMaterial, RawShaderMaterial, or onBeforeCompile.
Can it help migrate GLSL effects to TSL?
Yes. It explains node material slots, reusable functions, uniforms, texture sampling, and backend-specific GLSL or WGSL limitations.
Does the skill include textures or a runnable application?
No. It contains one documentation file. You must provide a Three.js project and any referenced texture assets.
Does it automatically test shader correctness or performance?
No. It explains compile error inspection and visual debugging, but you must run and test effects in your target environment.

Entwicklerdetails

Autor

cloudai-x

Lizenz

Unbekannt

Skillstore-Revision

r1

Versionshinweis

Der Autor hat keine Version angegeben.

Ref.

c993c6abcbffafea2683d7748b53b3dfaf438415

Aktualität der Wartung

9.11.2026

Nutzung

0 Downloads · 0 Aufrufe

Dateistruktur

📄 SKILL.md

Mehr von cloudai-x

Alle anzeigen
Alle anzeigen