shader

Generate GLSL fragment shaders for WebGL and Three.js visual effects.

Updated Feb 25, 2025
One-click install
npx skills add https://github.com/VuNguyenVietTien/task-scheduler --skill shader-vunguyenviettien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shader
Source: https://github.com/VuNguyenVietTien/task-scheduler/tree/main/.opencode/skills/shader
Command: npx skills add https://github.com/VuNguyenVietTien/task-scheduler --skill shader-vunguyenviettien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables users to develop GPU-accelerated fragment shaders for generating procedural textures, shapes, and animations, streamlining the creation of complex visual effects.

Core Features & Use Cases

  • Procedural Texture Generation: Craft textures like wood, marble, clouds, and terrain dynamically.
  • Shape Drawing with SDFs: Render shapes such as circles, rectangles, polygons, and stars using distance fields.
  • Animations & Patterns: Build animated visuals, tiling patterns, noise-driven effects, and color variations for generative art projects.

Quick Start

Write a GLSL fragment shader that visualizes a moving colorful gradient based on time and screen position.

Frequently Asked Questions about shader

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create procedural textures like wood or marble using GLSL fragment shaders?

You create procedural textures by writing GLSL fragment shaders that mathematically synthesize dynamic visual patterns like wood, marble, clouds, and terrain directly on the GPU for WebGL projects.

Can I render custom shapes in WebGL using signed distance fields?

Yes, custom shapes can be rendered in WebGL by utilizing signed distance fields (SDFs) within GLSL fragment shaders to mathematically draw circles, rectangles, polygons, and stars.

Do I need prior shader programming knowledge to build animations with this approach?

Yes, implementing complex visual effects and generative animations requires shader programming knowledge and GLSL syntax familiarity to manipulate time, screen position, and noise patterns effectively.

What is the best way to build animated noise-driven visual effects for Three.js?

The best way to build animated visual effects for Three.js is to write GPU-accelerated GLSL fragment shaders that leverage noise patterns, color variations, and time-based math for dynamic textures.

Does this shader generation approach work for tiling patterns and generative art?

Yes, this approach works for generative art by constructing GLSL fragment shaders that produce tiling patterns, noise-driven effects, and color variations suitable for dynamic visual textures.