engine-shader

Create and integrate GLSL shaders with engine shadow and material pipelines.

Updated Nov 16, 2025
One-click install
npx skills add https://github.com/TheLazyLemur/engine --skill engine-shader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: engine-shader
Source: https://github.com/TheLazyLemur/engine/tree/main/.claude/skills/engine-shader
Command: npx skills add https://github.com/TheLazyLemur/engine --skill engine-shader

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating and integrating high-quality GLSL shaders that seamlessly work with the engine's shadow, lighting, and material pipelines.

Core Features & Use Cases

  • Shader loading from files (fragment and optional vertex) and registration in the engine
  • Applying shaders to materials and entities for consistent rendering
  • Support for injected uniforms (time, lightDir, lightColor, ambient, viewPos) and shadow integration
  • Optional custom vertex shader for advanced effects
  • Transparent/material rendering considerations with proper blending and shadow handling

Quick Start

Load a custom GLSL shader, register it in the engine, and apply it to a model to preview the effect.

Frequently Asked Questions about engine-shader

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

FAQPage Schema
How do I integrate custom GLSL shaders with an engine's shadow pipeline?

To integrate custom GLSL shaders with shadows, you load fragment and optional vertex shader files, register them in the engine, and apply them to materials. The engine automatically injects shadow information and lighting uniforms into your shaders.

What lighting and view uniforms are available for GLSL shaders?

Available lighting and view uniforms for GLSL shaders include lightDir, lightColor, ambient, viewPos, and time for time-based animations. Shadow information is also injected directly into the shader pipeline.

Can I use custom vertex shaders for advanced rendering effects?

Yes, you can use custom vertex shaders for advanced rendering effects. The shader integration supports loading from optional vertex shader files alongside fragment shaders, enabling time-based animations and custom material rendering.

How do I apply a loaded GLSL shader to a 3D model?

To apply a loaded GLSL shader to a 3D model, you register the loaded shader with the engine and assign it to the target material. This ensures consistent rendering of the entity with your custom effects.

Does the shader system support transparent materials and blending?

Yes, the shader system supports transparent materials and blending. It includes specific rendering considerations for proper blending and shadow handling when applying custom GLSL shaders to entities.