Toolverse
All skills

threejs-textures

by CloudAI-X

Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
CloudAI-X
Category
Frontend

About this skill

Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.

How to use

  1. Zaimportuj Three.js do swojego projektu i utwórz instancję TextureLoadera: const loader = new THREE.TextureLoader();. 2. Załaduj teksturę za pomocą metody load(), podając ścieżkę do pliku i opcjonalne callback'i dla postępu i błędów: loader.load('texture.jpg', (texture) => { /* gotowe */ }). 3. Ustaw odpowiednią przestrzeń barw — dla tekstur kolorów (albedo) użyj THREE.SRGBColorSpace, dla map danych (normalne, chropowatość) pozostaw domyślną NoColorSpace. 4. Skonfiguruj tryb zawijania tekstury za pomocą texture.wrapS i texture.wrapT — wybierz między RepeatWrapping (kafelkowanie), ClampToEdgeWrapping (rozciągnięcie krawędzi) lub MirroredRepeatWrapping (lustrzane odbicie). 5. Przypisz teksturę do materiału, np. material.map = texture dla mapy kolorów lub material.normalMap = texture dla mapy normalnych. 6. Dla zaawansowanych scenariuszy użyj Promise'ów do równoczesnego ładowania wielu tekstur: Promise.all([loadTexture('color.jpg'), loadTexture('normal.jpg')]) — dzięki temu wszystkie mapy załadują się równolegle.

Related skills

interactive-dashboard-builder

by anthropics

Build self-contained interactive HTML dashboards with Chart.js, dropdown filters, and professional styling. Use when creating dashboards, building interactive reports, or generating shareable HTML files with charts and filters that work without a server.

Frontend
2298

apple-reminders

by openclaw

Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.

Frontend
2085

markitdown

by K-Dense-AI

Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing. Use when converting documents to markdown, extracting text from PDFs/Office files, transcribing audio, performing OCR on images, extracting

Frontend
75173

google-official-seo-guide

by littleben

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

Frontend
101196

angular

by sickn33

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns. Use PROACTIVELY for Angular development, component architecture, state management, performance optimization, and migration to modern

Frontend
2656

senior-fullstack

by davila7

Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects,

Frontend
2896