Minor improvements

This commit is contained in:
schmelczerandras 2020-09-21 15:45:46 +02:00
parent 64d306e682
commit fbd055dc77
5 changed files with 16 additions and 15 deletions

View file

@ -4,6 +4,7 @@ import { clamp } from '../helper/clamp';
import { last } from '../helper/last';
import { prettyPrint } from '../helper/pretty-print';
import { Random } from '../helper/random';
import { rgb } from '../helper/rgb';
import { Scene } from './scene';
export class TunnelScene implements Scene {
@ -75,7 +76,7 @@ export class TunnelScene implements Scene {
shaderCombinationSteps: [1, 2, 3, 4, 5, 6, 7],
},
],
[vec3.fromValues(0.4, 1, 0.6), vec3.fromValues(1, 1, 0), vec3.fromValues(0.3, 1, 1)]
[rgb(0.4, 1, 0.6), rgb(1, 1, 0), rgb(0.3, 1, 1)]
);
this.renderer.setRuntimeSettings({