makepad-shaders

Provide ready-to-use Makepad shader patterns and SDF utilities for UI visuals.

1|1|Updated Apr 10, 2025
One-click install
npx skills add https://github.com/SageV1/makepad-skills --skill makepad-shaders-sagev1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: makepad-shaders
Source: https://github.com/SageV1/makepad-skills/tree/main/skills/makepad-shaders
Command: npx skills add https://github.com/SageV1/makepad-skills --skill makepad-shaders-sagev1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Makepad shader development is streamlined by providing ready-to-use shader patterns, SDF utilities, and local docs that accelerate building rich 2D visuals.

Core Features & Use Cases

  • Reusable shader patterns and SDF blocks for UI widgets, gradients, and animations.
  • Inline references and documentation for quick learning and reference.
  • Live-reload friendly Makepad shader DSL with practical examples and patterns.

Quick Start

Create a basic shader by wiring a draw_bg with Sdf2d to render a colored rounded rectangle.

Frequently Asked Questions about makepad-shaders

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

FAQPage Schema
How do I create Makepad shader patterns for UI widgets?

You can create Makepad shader patterns by wiring a draw_bg function with Sdf2d to render colored shapes like rounded rectangles, using ready-to-use shader blocks for rapid UI visuals.

What is the best way to build SDF2d gradients and animations in Makepad?

The best way to build SDF2d gradients and animations is using reusable shader patterns and SDF blocks designed for Makepad UI widgets, enabling rapid prototyping of complex visuals.

Does Makepad shader DSL support live-reload for desktop and mobile targets?

Yes, the Makepad shader DSL supports live-reload workflows across desktop and mobile targets, allowing you to instantly preview background and animation changes during development.

Can I use SDF utilities for background rendering without writing custom shaders?

Yes, you can use provided SDF utilities and shader patterns to render UI backgrounds directly, avoiding the need to write complex custom shaders from scratch.

Are there inline references for learning Makepad SDF2d syntax?

Yes, inline references and local documentation are included for quick learning, providing practical examples and patterns for the Makepad shader DSL.