Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
824cae0
Tests: the MaskEffect drawing checks run on a WebGPU device
claude Nov 19, 2026
5a3557e
GPU tile layers for isometric maps: the shader render mode (#1897)
claude Nov 19, 2026
74c3e6c
GPU tile layers: blend soft tile edges, and hold both paths to a refe…
claude Nov 19, 2026
b5f1e0d
GPU tile layers: review fixes, shared orientation module, benchmark (…
claude Nov 19, 2026
3aa084e
Tiled: tile layers follow their offset, and are in view as far as the…
claude Nov 19, 2026
a3dd914
GPU tile layers for staggered and hexagonal maps (#1897)
claude Nov 19, 2026
3b89894
Tile layers: final review fixes (#1897)
claude Nov 19, 2026
2e78819
Tile layers: fixes from an adversarial test audit (#1897)
claude Nov 19, 2026
4ada8ff
Tile layers: the rest of the adversarial audit (#1897)
claude Nov 19, 2026
11e7899
Changelog: 20.17.0 rewritten for readers
claude Nov 19, 2026
33c1d20
README: GPU tile rendering covers isometric, staggered and hexagonal …
claude Nov 19, 2026
65ca9f0
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 19, 2026
9499ef0
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 19, 2026
a4647d0
Test: a sprite mask transition set for one change, then set back at once
claude Nov 19, 2026
2bb1fcc
Transitions: a sprite the game keeps for itself shapes every mask tra…
claude Nov 19, 2026
8f75798
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 19, 2026
60bf746
Tiled: object layers and group layers follow their offset
claude Nov 19, 2026
5396132
Platformer example: clear a stray offset on the flies layer of the se…
claude Nov 19, 2026
8e90cbd
Platformer examples: the same stray offset cleared in the source copi…
claude Nov 19, 2026
f60ed87
Platformer example: slimes leave a trail of slime
claude Nov 19, 2026
5737798
Platformer example: a pool of slime under the whole slime
claude Nov 19, 2026
66d0db2
Platformer (Matter) example: slimes stand in a pool of slime and leav…
claude Nov 19, 2026
c9730f4
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 19, 2026
4219d5c
Build: shader comments are no longer published
claude Nov 19, 2026
c3cfbd0
Docs: what a normal map needs, and where it is lit
claude Nov 19, 2026
b535246
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 19, 2026
43bd0f1
Dependencies: update the development tools flagged by the security audit
claude Nov 20, 2026
c3ecf31
Engine: check a type where it was asserted, in the places a stricter …
claude Nov 20, 2026
5654fee
Build: the engine is no longer linted by its own build
claude Nov 20, 2026
df87971
Lint: one package at a time, cached by Turborepo
claude Nov 20, 2026
1d21299
CI: keep Turborepo's cache between runs
claude Nov 20, 2026
fe2ab5e
Lint: a package is re-linted for another's published types, not for i…
claude Nov 20, 2026
f0d3990
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 20, 2026
50dd8f6
CI: Biome runs once in the lint job
claude Nov 20, 2026
0db9590
CI: the test job shares the lint job's caches
claude Nov 20, 2026
c964333
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 20, 2026
65e8a26
Tests: the browser keeps a module for the length of a one-shot run
claude Nov 20, 2026
62dde2e
Tests: the tile-layer benchmark runs when asked for, and watch mode r…
claude Nov 20, 2026
432693c
TEMPORARY: CI compares a run that re-validates its modules with one t…
claude Nov 20, 2026
cd2e86d
Changelog: the faster test suite, under Chore
claude Nov 20, 2026
48f011b
TEMPORARY: CI runs the test job twelve times and logs what a lost pag…
claude Nov 20, 2026
3a633b1
Remove the temporary CI comparison, and record what it showed
claude Nov 20, 2026
7bbce4e
CI: the test step no longer retries
claude Nov 20, 2026
f8d2b9c
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 20, 2026
1f60d1c
Effects: GradientMapEffect and DitherEffect, and a Dithering example
claude Nov 21, 2026
fdb87e4
Remove the Dithering example; the two effects in the README and the s…
claude Nov 21, 2026
f57b401
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 21, 2026
7339982
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 21, 2026
506c0ae
Changelog: a shorter Chore section for 20.17.0
claude Nov 21, 2026
f9a00ac
Small fixes for 20.17.0: package contents, mask transition warning, e…
claude Nov 21, 2026
a44c618
Fix rotated atlas frames and black frames after a capture; examples o…
claude Nov 21, 2026
45a7a23
Path2D: keep half-circle SVG arcs from turning into straight lines
SwastikTripathi Nov 21, 2026
16fab41
SVG Shapes example: a row of half-circle arcs
claude Nov 21, 2026
202b256
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 21, 2026
fde2b96
Merge pull request #1910: half-circle SVG arcs are drawn as arcs
claude Nov 21, 2026
64bac5c
Changelog: credit the contributor of the half-circle arc fix
claude Nov 21, 2026
5b26168
Merge remote-tracking branch 'origin/master' into claude/hopeful-hypa…
claude Nov 21, 2026
748ecaa
Changelog: trim 20.17.0 and credit a contributor
claude Nov 21, 2026
b35dd09
Changelog: the engine size entry, shorter, under Chore
claude Nov 21, 2026
68d4603
Changelog: shorter entries for 20.17.0
claude Nov 21, 2026
4dc6845
Effects: FlashEffect and TintPulseEffect are color matrices
claude Nov 21, 2026
74deda7
Release: melonJS 20.17.0
claude Nov 21, 2026
0f29993
Changelog: FlashEffect and TintPulseEffect on the color matrix shader…
claude Nov 21, 2026
de2f8e8
Changelog: the FlashEffect and TintPulseEffect entry, under Performance
claude Nov 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions packages/examples/src/examples/afterBurner/HUD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export class HUD {
this.flashTween?.stop();
this.flashTween = undefined;
this.flashDriver.k = 0;
this.deathFlash.setUniform("uFlashIntensity", 0);
this.deathFlash.setIntensity(0);
}

/**
Expand All @@ -360,18 +360,15 @@ export class HUD {
flashDeath(): void {
this.flashTween?.stop();
this.flashDriver.k = 1;
this.deathFlash.setUniform("uFlashIntensity", DEATH_FLASH_ALPHA);
this.deathFlash.setIntensity(DEATH_FLASH_ALPHA);
const tween = new Tween(this.flashDriver);
// the wash has to finish even though the run is over
tween.updateWhenPaused = true;
this.flashTween = tween
.to({ k: 0 }, { duration: DEATH_FLASH_FADE_MS })
.easing(Tween.Easing.Quadratic.Out)
.onUpdate(() => {
this.deathFlash.setUniform(
"uFlashIntensity",
this.flashDriver.k * DEATH_FLASH_ALPHA,
);
this.deathFlash.setIntensity(this.flashDriver.k * DEATH_FLASH_ALPHA);
})
.onComplete(() => {
this.flashTween = undefined;
Expand Down
40 changes: 20 additions & 20 deletions packages/melonjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
# Changelog

## [20.17.0] (melonJS 2) - _unreleased_
## [20.17.0] (melonJS 2) - _2026-11-22_

**Highlights:** isometric, staggered and hexagonal Tiled maps are now drawn by the GPU, as orthogonal ones are: up to **98%** less of the main thread's time per tile layer, with nothing to enable. Also new: mask transitions shaped like an image or a sprite that close on the player, and two effects, `GradientMapEffect` (palette swaps, duotones) and `DitherEffect` (a retro limited-color look). A map with layer offsets now looks as it does in Tiled: the offsets were ignored before.

### Added
- Transitions: a mask transition can be shaped like an image or a `Sprite`, close on the player with `center`, and fill the shape with `invert`, on `state.transition`, `MaskEffect` and `Trigger` ([#1399](https://github.com/melonjs/melonJS/issues/1399))
- Tiled: isometric maps are rendered by the GPU on WebGL and WebGPU, as orthogonal ones are, and so are staggered and hexagonal maps. Nothing to enable: a tile layer whose tiles come from one tileset takes it by itself, and any other is drawn as before, the console saying why ([#1897](https://github.com/melonjs/melonJS/issues/1897))
- Effects: `GradientMapEffect` recolors a sprite or a whole scene from its brightness, through a list of two to eight colors, the darkest pixels taking the first and the brightest the last: one sprite in a palette per team, a duotone, a night scene. With `smooth: false` each color takes a band of its own, a palette swap for art drawn in flat shades
- Effects: `DitherEffect` draws a scene in a few colors with an ordered dither between them, as early consoles did: on the camera, so many `levels` of each channel, so everything keeps its own hue, or a `palette` of two to sixteen colors of your own, in pixels `size` pixels wide. Only what falls between two colors is patterned (shading, soft shadows, gradients); a flat color that is one of them stays flat
- Skills: the entry skill now says what melonJS is the right engine for and what it is not, turns a kind of game (a platformer, a puzzle, a shooter) into the skills to read and the example to start from, and maps the usual engine vocabulary to the names used here. It also answers a request for a browser game that names no engine
- Skills: a new `melonjs-testing` skill is how an agent checks its own work: the game run in a headless browser, every console line read (the header names the renderer the run got), the controls driven, the game's state read from outside, a frame looked at
- Transitions: a mask transition can take the shape of an image or a `Sprite`, close on the player (`center`) and fill the shape (`invert`), on `state.transition`, `MaskEffect` and `Trigger` ([#1399](https://github.com/melonjs/melonJS/issues/1399))
- Tiled: isometric, staggered and hexagonal maps are rendered by the GPU on WebGL and WebGPU, as orthogonal ones are. Nothing to enable: a tile layer drawn from a single tileset uses it by itself ([#1897](https://github.com/melonjs/melonJS/issues/1897))
- Effects: `GradientMapEffect` recolors a sprite or a scene from its brightness, through two to eight colors: a palette per team, a duotone, a night scene, or a hard palette swap with `smooth: false`
- Effects: `DitherEffect` draws a scene in a few colors with an ordered dither between them, as early consoles did: `levels` of each channel or a `palette` of two to sixteen colors, in pixels `size` pixels wide

### Performance
- Tiled: thanks to the GPU renderer, drawing an isometric tile layer takes about **90%** less of the main thread's time with 1200 tiles in view (0.68 to 0.07 ms a frame) and about **98%** less with 4000 (2.0 to 0.04 ms), and no longer grows with the number of tiles shown. Staggered and hexagonal maps gain the same
- Tiled: on the GPU, drawing an isometric tile layer takes about **90%** less of the main thread's time with 1200 tiles in view (0.68 to 0.07 ms a frame) and about **98%** less with 4000 (2.0 to 0.04 ms). Staggered and hexagonal maps gain the same
- Tiled: for reference, orthogonal tile layers, on the GPU since 19.4, measure about **85%** less with 1000 tiles in view (0.62 to 0.09 ms) and about **97%** less with 3600 (1.9 to 0.06 ms)
- Size: the engine is about **8%** smaller to download: 323 kB minified and gzipped, from 350 kB (1,073 kB minified, from 1,159 kB). The comments in its shaders are no longer published; a shader is bundled as text, which a game's minifier does not touch, so they reached every game. Nothing to change in a game
- Effects: `FlashEffect` and `TintPulseEffect` are drawn by the `ColorMatrixEffect` shader, as `SepiaEffect`, `DesaturateEffect` and `InvertEffect` are: two fewer shaders to compile, and the pulse is computed once a frame rather than for every pixel. Nothing to change in a game

### Fixed
- Tiled: layers follow their offset in Tiled. A tile layer is drawn there, and where its own `pos` moves it, and `getTile()` finds its tiles there; an object layer's objects are created there; a group layer's offset moves the tile layers inside it. All were ignored, so a map with layer offsets now looks as it does in Tiled
- Tiled: tiles larger than a cell are drawn wherever they are in view. They were cut off or left out along the edges of the view, above and right of the map, on a map centred in the screen, and once the map itself had scrolled out of view
- Tiled: a layer's offset in Tiled is applied: to a tile layer (where it is drawn and where `getTile()` looks), to the objects of an object layer, and to the tile layers inside a group. It was ignored
- Tiled: tiles larger than a cell are drawn wherever they are in view; they were cut off or left out along the edges of the view and of the map
- Tiled: staggered and hexagonal maps are drawn where Tiled draws them: a tile larger than its cell stands on it, a tileset's `tileoffset` moves its tiles, and maps of odd sizes stay on whole pixels
- Tiled: orthogonal layers drawn by the GPU show the soft edges of large tiles over the tiles behind them, lay large tiles over each other in the map's order, and read a tileset with a `margin` right
- Tiled: an isometric, staggered or hexagonal layer with an `opacity` below 1 fades as one picture on WebGL and WebGPU; each tile showed through the one in front of it
- Tiled: a tile layer removed from its container and added again, and a tile missing from its tileset's image, no longer throw
- `NineSliceSprite` blinks with `flicker()`, as a `Sprite` does; it ignored it
- Text: a stroked multi-line label with `textBaseline: "hanging"` keeps the top of its outline on macOS, where Helvetica's hanging metrics made the ink padding exactly as tall as the ink, shearing its first row off the canvas ([#1870](https://github.com/melonjs/melonJS/issues/1870))
- glTF: a model compressed with Draco or meshopt, which the loader cannot decode, says so in the console, naming the extension, instead of failing on an accessor error that did not mention it
- Physics: a method of the built-in adapter (`setVelocity`, `applyForce`, `setStatic` and the like) called on a renderable with no body says so, `this renderable has no built-in body`, where it failed on a property of `undefined`; and a raycast passes over an object whose body is not one of the adapter's, where it threw
- Sprites: an atlas frame the packer stored rotated is drawn where the sprite is. It was drawn off the screen unless the sprite stood at (0, 0), so an animation with such frames blinked, on every renderer. A `NineSliceSprite` made from a rotated frame is stretched along the right axes, with its corners the right way round
- WebGL: with `antiAlias` on, a frame that captures the canvas and then draws over it (`renderer.toFrameTexture()`, a `screen_texture` effect, an advanced blend mode) is no longer shown black. Chromium loses such a frame, more often the longer it takes: the Aquarium example showed 114 black frames in 125 on its software renderer, none now
- Transitions: a mask transition shaped like a sprite of the level says so in the console, once, when a later change finds that sprite gone with its level and closes a plain iris instead; nothing was said. A mask transition given no shape also says so once, not on every change
- Package: the npm package includes `CHANGELOG.md` and the license, which were left out, and its `sideEffects` field names the published bundle too, so a bundler keeps a `melonjs` imported only for its polyfills
- Skills and README: the engine's size was given as 250 KB; it is about 320 kB minified and gzipped (the README now says ~300 KB)
- Path2D: an SVG `A` arc that is exactly a half circle, as when its radius is too small and is scaled up to fit, is drawn as an arc. Rounding could push the cosine of its sweep angle just past -1, `Math.acos` returned `NaN`, and the arc became a straight line between its endpoints (thanks @SwastikTripathi)
- Text: a stroked multi-line label with `textBaseline: "hanging"` keeps the top of its outline on macOS, where its first row was cut off ([#1870](https://github.com/melonjs/melonJS/issues/1870)) (thanks @Goldloli)
- glTF: a model compressed with Draco or meshopt, which the loader cannot decode, says so in the console, naming the extension, instead of failing on an unrelated accessor error
- Physics: a method of the built-in adapter (`setVelocity`, `applyForce`, `setStatic` and the like) called on a renderable with no body says so, and a raycast passes over an object whose body is not the adapter's; both threw
- Sprites: an atlas frame the packer stored rotated is drawn where the sprite is; it was drawn off the screen unless the sprite stood at (0, 0), so its animation blinked. A `NineSliceSprite` made from such a frame is no longer stretched along the wrong axes
- WebGL: with `antiAlias` on, a frame that captures the canvas and then draws over it (`renderer.toFrameTexture()`, a `screen_texture` effect, an advanced blend mode) is no longer shown black at times in Chromium
- Transitions: a mask transition shaped like a sprite of the level says so in the console, once, when that sprite is gone with its level and a plain iris is used instead. A mask transition given no shape also says so once, not on every change
- Path2D: an SVG `A` arc that is exactly a half circle, as when its radius is too small and is scaled up to fit, is drawn as an arc; rounding could turn it into a straight line between its endpoints (thanks @SwastikTripathi)

### Chore
- Dependencies: update the development tools, clearing the 46 vulnerabilities reported by the security audit
- Lint: lint each package on its own and cache the result, so `pnpm lint` skips what has not changed
- CI: fix the test job losing its browser page at random, and run the test suite in about half the time
- Package: the npm package includes `CHANGELOG.md` and the license, which were left out, and its `sideEffects` field names the published bundle
- Size: the engine is about 8% smaller to download (323 kB minified and gzipped, from 350 kB), as the comments in its shaders are no longer published

## [20.16.0] (melonJS 2) - _2026-11-17_

Expand Down
5 changes: 5 additions & 0 deletions packages/melonjs/skills/melonjs-effects-and-shaders/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ GPU backend: `VignetteEffect`, `ScanlineEffect` (optional CRT curvature),
`HologramEffect`, `ShineEffect`, `RadialGradientEffect`, `SquishEffect`,
`ToneMappingEffect`, `GradientMapEffect`, `DitherEffect`.

Five of them are a `ColorMatrixEffect` with a matrix set for you, and share
its one shader: `SepiaEffect`, `DesaturateEffect`, `InvertEffect`,
`FlashEffect` and `TintPulseEffect` (the last two since 20.17). Drive them
through their own setters (`setIntensity`, `setColor`, `setTime`).

**Colors take an alpha.** Every color option and `setColor` takes `[r, g, b]`
or `[r, g, b, a]`, each 0.0 to 1.0, and the alpha is the color's own opacity: a
half-transparent outline, a glow at half strength, a flash that only half
Expand Down
38 changes: 38 additions & 0 deletions packages/melonjs/src/video/effects/colorMatrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,44 @@ export default class ColorMatrixEffect extends ShaderEffect {
this.setUniform("uColorMatrix", this._matrix.val);
}

/**
* Set the matrix to a blend of every pixel toward one color: `amount` of
* the way, scaled by the color's own alpha. What a flash or a tint is.
*
* Colors reach an effect premultiplied, so "this color, as opaque as the
* pixel" is the color times the pixel's alpha: the matrix's alpha column.
* @param {ArrayLike<number>} color - the color to blend toward, as [r, g, b, a] (0.0–1.0)
* @param {number} amount - how far (0.0 = the pixel's own color, 1.0 = the color)
* @ignore
* @internal
*/
_blendToward(color, amount) {
const k = amount * color[3];
const keep = 1 - k;
// column-major: what red, green, blue and alpha each add to the result
this._matrix
.identity()
.transform(
keep,
0,
0,
0,
0,
keep,
0,
0,
0,
0,
keep,
0,
k * color[0],
k * color[1],
k * color[2],
1,
);
this._syncUniform();
}

/**
* Reset the color matrix to identity (no color change).
* @returns {this} this instance for chaining
Expand Down
74 changes: 41 additions & 33 deletions packages/melonjs/src/video/effects/flash.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ColorMatrixEffect from "./colorMatrix.js";
import { rgba } from "./rgba.js";
import ShaderEffect from "./shadereffect.js";

/**
* additional import for TypeScript
Expand All @@ -8,26 +8,15 @@ import ShaderEffect from "./shadereffect.js";
* @import WebGPURenderer from "../webgpu/webgpu_renderer.js";
* @import Renderer from "../renderer.js";
*/
// the WGSL twin of the GLSL body below — same logic, same uniform
// names, picked by the ShaderEffect base per renderer.shaderLanguage
const wgslFragment = `
struct FlashUniforms {
uFlashColor : vec4f,
uFlashIntensity : f32,
};
@group(3) @binding(0) var<uniform> fx : FlashUniforms;

fn apply(color : vec4f, uv : vec2f) -> vec4f {
// the color's alpha scales how far the flash covers the sprite
return vec4f(mix(color.rgb, fx.uFlashColor.rgb * color.a, fx.uFlashIntensity * fx.uFlashColor.a), color.a);
}
`;

/**
* A shader effect that flashes the sprite with a solid color.
* Commonly used for hit feedback — flash white when the player takes damage.
* The `intensity` uniform controls how much of the flash color is mixed in
* The `intensity` controls how much of the flash color is mixed in
* (0.0 = original sprite, 1.0 = fully colored).
*
* A flash is a color matrix: it is drawn by the shader of
* {@link ColorMatrixEffect}, which every flash shares.
* @category Effects
* @see {@link Renderable#addPostEffect} for usage
* @example
Expand All @@ -48,31 +37,30 @@ fn apply(color : vec4f, uv : vec2f) -> vec4f {
* const hit = new FlashEffect(renderer, { color: [1.0, 1.0, 1.0, 0.5] });
* hit.setIntensity(1.0);
*/
export default class FlashEffect extends ShaderEffect {
export default class FlashEffect extends ColorMatrixEffect {
/**
* @param {Renderer} renderer - the current renderer instance
* @param {object} [options] - effect options
* @param {number[]} [options.color=[1.0, 1.0, 1.0]] - flash color as [r, g, b] or [r, g, b, a] (0.0–1.0); the alpha scales the intensity
* @param {number} [options.intensity=0.0] - initial flash intensity (0.0–1.0)
*/
constructor(renderer, options = {}) {
super(renderer, {
glsl: `
uniform vec4 uFlashColor;
uniform float uFlashIntensity;
vec4 apply(vec4 color, vec2 uv) {
// the color's alpha scales how far the flash covers the sprite
return vec4(mix(color.rgb, uFlashColor.rgb * color.a, uFlashIntensity * uFlashColor.a), color.a);
}
`,
wgsl: wgslFragment,
});
super(renderer);

/**
* the flash color, as [r, g, b, a]
* @ignore
* @internal
*/
this._color = rgba(options.color ?? [1.0, 1.0, 1.0]);

const color = options.color ?? [1.0, 1.0, 1.0];
/**
* how much of the flash color is mixed in (0.0–1.0)
* @type {number}
*/
this.intensity = options.intensity ?? 0.0;

this.setUniform("uFlashColor", rgba(color));
this.setUniform("uFlashIntensity", this.intensity);
this._blendToward(this._color, this.intensity);
}

/**
Expand All @@ -81,14 +69,34 @@ export default class FlashEffect extends ShaderEffect {
*/
setIntensity(value) {
this.intensity = Math.max(0, Math.min(1, value));
this.setUniform("uFlashIntensity", this.intensity);
this._blendToward(this._color, this.intensity);
}

/**
* set the flash color
* @param {number[]} color - flash color as [r, g, b] or [r, g, b, a] (0.0–1.0); the alpha scales the intensity
*/
setColor(color) {
this.setUniform("uFlashColor", rgba(color));
this._color = rgba(color);
this._blendToward(this._color, this.intensity);
}

/**
* The flash had a shader of its own, with these two uniforms: a game that
* set them by name keeps working.
* @param {string} name - the uniform's name
* @param {*} value - its value
* @ignore
*/
setUniform(name, value) {
if (name === "uFlashIntensity") {
// as given, not clamped: that is what the uniform did
this.intensity = value;
this._blendToward(this._color, this.intensity);
} else if (name === "uFlashColor") {
this.setColor(value);
} else {
super.setUniform(name, value);
}
}
}
Loading
Loading