Use this skill when writing custom shaders, uniforms, filters, or batchers in PixiJS v8. Covers Shader.from({gl, gpu, resources}), GlProgram/GpuProgram, UniformGroup with typed uniforms (f32, vec2, mat4x4), UBO mode, textures as resources, custom Filter via Filter.from, GLSL ES 3.0 conventions (in/out, finalColor, texture()), uBackTexture sampling, pixi.js/unsafe-eval for strict CSP, custom Batcher via extensions. Triggers on: Shader, GlProgram, GpuProgram, UniformGroup, Batcher, Filter, Filter.from, GLSL, WGSL, UBO, uniform, custom shader, finalColor, uBackTexture, blendRequired, unsafe-eval.
$npx -y skills add pixijs/pixijs-skills --skill pixijs-custom-renderingInstalls into the current project.
Run `npx skills use "https://github.com/pixijs/pixijs-skills" --skill "pixijs/pixijs-skills/pixijs-custom-rendering"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/pixijs/pixijs-skills" that are relevant to the current task. Run `npx skills add "https://github.com/pixijs/pixijs-skills"` and select the relevant skills, then follow their instructions.