Add textures
This commit is contained in:
parent
5723b91b32
commit
7bfad8711b
25 changed files with 407 additions and 104 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { vec2 } from 'gl-matrix';
|
||||
import { Drawable } from '../../../drawables/drawable';
|
||||
import { Texture } from '../../graphics-library/texture/texture';
|
||||
import { Insights } from '../insights';
|
||||
import { RenderPass } from './render-pass';
|
||||
|
||||
|
|
@ -14,7 +15,7 @@ export class DistanceRenderPass extends RenderPass {
|
|||
this.drawables.push(drawable);
|
||||
}
|
||||
|
||||
public render(commonUniforms: any, ...inputTextures: Array<WebGLTexture>) {
|
||||
public render(commonUniforms: any, ...inputTextures: Array<Texture>) {
|
||||
this.frame.bindAndClear(inputTextures);
|
||||
|
||||
const stepsInUV = 1 / this.tileMultiplier;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue