Add palette system
This commit is contained in:
parent
f60ae06f59
commit
98d1fc9ca2
19 changed files with 196 additions and 113 deletions
|
|
@ -12,8 +12,8 @@ export class LightsRenderPass extends RenderPass {
|
|||
this.drawables.push(drawable);
|
||||
}
|
||||
|
||||
public render(commonUniforms: any, inputTexture?: WebGLTexture) {
|
||||
this.frame.bindAndClear(inputTexture);
|
||||
public render(commonUniforms: any, ...inputTextures: Array<WebGLTexture>) {
|
||||
this.frame.bindAndClear(inputTextures);
|
||||
|
||||
const tileCenterWorldCoordinates = vec2.transformMat2d(
|
||||
vec2.create(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue