Improve shadows and add antialiasing

This commit is contained in:
schmelczerandras 2020-09-25 15:40:10 +02:00
parent 7d2c74d6a8
commit 40b9644171
13 changed files with 182 additions and 187 deletions

View file

@ -1,11 +1,11 @@
import { vec3 } from 'gl-matrix';
import { vec3, vec4 } from 'gl-matrix';
export interface RuntimeSettings {
enableHighDpiRendering: boolean;
tileMultiplier: number;
isWorldInverted: boolean;
shadowLength: number;
lightCutoffDistance: number;
colorPalette: Array<vec3>;
backgroundColor: vec3 | vec4;
colorPalette: Array<vec3 | vec4>;
ambientLight: vec3;
}