Improve shadows and add antialiasing
This commit is contained in:
parent
7d2c74d6a8
commit
40b9644171
1 changed files with 184 additions and 189 deletions
|
|
@ -21,8 +21,6 @@ export abstract class FrameBuffer {
|
|||
});
|
||||
|
||||
this.gl.viewport(0, 0, this.size.x, this.size.y);
|
||||
this.gl.clearColor(0, 0, 0, 0);
|
||||
this.gl.clear(this.gl.COLOR_BUFFER_BIT | this.gl.DEPTH_BUFFER_BIT);
|
||||
}
|
||||
|
||||
public destroy(): void {
|
||||
|
|
|
|||
Loading…
Reference in a new issue