defold-shaders-editing

Create and edit Defold vertex, fragment, and GLSL shader files.

81|6|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/indiesoftby/defold-agent-config --skill defold-shaders-editing-indiesoftby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defold-shaders-editing
Source: https://github.com/indiesoftby/defold-agent-config/tree/main/.agents/skills/defold-shaders-editing
Command: npx skills add https://github.com/indiesoftby/defold-agent-config --skill defold-shaders-editing-indiesoftby

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defold shader development can be error-prone and time-consuming when creating and modifying vertex, fragment, and GLSL include files. This skill standardizes shader file creation, enforces modern GLSL practices, and speeds iteration across platforms.

Core Features & Use Cases

  • Creates and edits vertex programs (.vp) and fragment programs (.fp) for Defold rendering.
  • Manages GLSL include snippets (.glsl) to share reusable shader logic across shaders.
  • Handles cross-platform targets (OpenGL, OpenGL ES, WebGL, SPIR-V) with a focus on #version 140 for the modern pipeline.

Quick Start

Ask the AI to create or update vertex shaders (.vp), fragment shaders (.fp), and GLSL include snippets (.glsl) for your Defold project.

Frequently Asked Questions about defold-shaders-editing

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

FAQPage Schema
How do I create vertex and fragment shaders for Defold?

Defold shaders are created by writing vertex programs (.vp) and fragment programs (.fp) files, ensuring correct alignment with material data for proper binding to support modern rendering pipelines across desktop and mobile projects.

What GLSL version does Defold require for modern rendering pipelines?

Defold requires #version 140 at the top of shaders to support the modern rendering pipeline, ensuring standardization across vertex, fragment, and GLSL include shader code for cross-platform targets.

Can I use GLSL include snippets to share reusable shader logic in Defold?

Yes, you can manage GLSL include snippets (.glsl) to share reusable shader logic across multiple shaders, which helps standardize code and speeds iteration when creating and modifying Defold shader files.

Does Defold shader development support cross-platform targets like WebGL and SPIR-V?

Defold shader development handles cross-platform targets including OpenGL, OpenGL ES, WebGL, and SPIR-V, ensuring vertex and fragment programs work across desktop and mobile Defold projects.

Why are my Defold shaders not working or binding correctly?

Defold shaders may fail if they lack #version 140 at the top or have incorrect alignment with material data; proper binding requires strict adherence to modern GLSL practices and correct material configurations.