Skip to content

High-performance antialias for PixiJS webgl2 with webgl1 fallback

License

Notifications You must be signed in to change notification settings

stanislavfor/pixi-blit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixi-blit

PixiJS v5 advanced buffer for caching and antialiasing.

WebGL1

It works with WebGL1 despite the fact that there's no MSAA framebuffers API in WebGL1.

However, you have to take extra steps to ensure that resources for AA also live in temporary context of your buffer.

Webpack, browserify, Angular

Its a bit tricky. You have to put this thing in one of your root files that are loaded before everything else!

Make sure that you dont have two copies of pixiJS: one from html, one from browserify, it happens.

import * as PIXI from "pixi.js';
window.PIXI = PIXI;
import "pixi-blit"; //or require("pixi-blit")

About

High-performance antialias for PixiJS webgl2 with webgl1 fallback

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published