Improve shadows and add antialiasing
This commit is contained in:
parent
7d2c74d6a8
commit
40b9644171
13 changed files with 182 additions and 187 deletions
|
|
@ -0,0 +1,7 @@
|
|||
import { StartupSettings } from './startup-settings';
|
||||
|
||||
export const defaultStartupSettings: StartupSettings = {
|
||||
shadowTraceCount: 16,
|
||||
paletteSize: 256,
|
||||
ignoreWebGL2: false,
|
||||
};
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
export interface StartupSettings {
|
||||
shadowTraceCount: number;
|
||||
paletteSize: number;
|
||||
ignoreWebGL2: boolean;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue