Add lighting shader

This commit is contained in:
schmelczerandras 2020-07-22 22:47:26 +02:00
parent e88b4589d2
commit 0cd383794c
11 changed files with 144 additions and 295 deletions

View file

@ -12,8 +12,8 @@ import { InfoText } from './objects/types/info-text';
import { timeIt } from './helper/timing';
import caveFragmentShader from '../shaders/cave-distance-fs.glsl';
import lightsShader from '../shaders/rainbow-shading-fs.glsl';
//import lightsShader from '../shaders/lights-shading-fs.glsl';
// import lightsShader from '../shaders/rainbow-shading-fs.glsl';
import lightsShader from '../shaders/lights-shading-fs.glsl';
import { Dungeon } from './objects/types/dungeon';
import { BeforeDrawCommand } from './commands/types/before-draw';