Melonjs Effects And Shaders

Use this skill for post-processing effects, custom shaders, blend modes and colour grading in melonJS. Covers the built-in ShaderEffect presets, addPostEffect on renderables and cameras, writing a custom dual-language GLSL/WGSL effect, the screen_texture builtins, and why effects silently do nothing on the Canvas fallback. Triggers on: ShaderEffect, addPostEffect, removePostEffect, getPostEffect, VignetteEffect, GlowEffect, BlurEffect, PixelateEffect, ScanlineEffect, shader, GLSL, WGSL, uniform, setUniform, setTexture, setTime, blendMode, colorMatrix, screen_texture, toFrameTexture, post effect, filter.

melonjs 83486af 12.4 KB Updated

File contents

melonjs/melonjs/tree/main/packages/melonjs/skills/melonjs-effects-and-shaders commit 83486afae1

Frequently asked questions

npx skillmds@latest add melonjs/melonjs-effects-and-shaders