mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Added TextureTintStrip pipeline
This commit is contained in:
parent
162b07bd6b
commit
0af1303ba2
2 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@ var WebGLSnapshot = require('../snapshot/WebGLSnapshot');
|
|||
var BitmapMaskPipeline = require('./pipelines/BitmapMaskPipeline');
|
||||
var ForwardDiffuseLightPipeline = require('./pipelines/ForwardDiffuseLightPipeline');
|
||||
var TextureTintPipeline = require('./pipelines/TextureTintPipeline');
|
||||
var TextureTintStripPipeline = require('./pipelines/TextureTintStripPipeline');
|
||||
|
||||
/**
|
||||
* @callback WebGLContextCallback
|
||||
|
@ -711,6 +712,7 @@ var WebGLRenderer = new Class({
|
|||
this.pipelines = {};
|
||||
|
||||
this.addPipeline('TextureTintPipeline', new TextureTintPipeline({ game: game, renderer: this }));
|
||||
this.addPipeline('TextureTintStripPipeline', new TextureTintStripPipeline({ game: game, renderer: this }));
|
||||
this.addPipeline('BitmapMaskPipeline', new BitmapMaskPipeline({ game: game, renderer: this }));
|
||||
this.addPipeline('Light2D', new ForwardDiffuseLightPipeline({ game: game, renderer: this, maxLights: config.maxLights }));
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ module.exports = {
|
|||
BitmapMaskPipeline: require('./BitmapMaskPipeline'),
|
||||
ForwardDiffuseLightPipeline: require('./ForwardDiffuseLightPipeline'),
|
||||
TextureTintPipeline: require('./TextureTintPipeline'),
|
||||
TextureTintStripPipeline: require('./TextureTintStripPipeline'),
|
||||
ModelViewProjection: require('./components/ModelViewProjection')
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue