mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 18:45:21 +01:00
Define EPSILON, since it seems not to be defined by default on all systems. Fixes #48
This commit is contained in:
parent
4fbd785b3e
commit
4ea40c7611
@ -25,6 +25,7 @@
|
||||
import { ShaderChunk } from 'three';
|
||||
|
||||
const HIRES_VERTEX_SHADER = `
|
||||
#define EPSILON 1e-6
|
||||
${ShaderChunk.logdepthbuf_pars_vertex}
|
||||
|
||||
attribute float ao;
|
||||
|
@ -25,6 +25,7 @@
|
||||
import { ShaderChunk } from 'three';
|
||||
|
||||
const LOWRES_VERTEX_SHADER = `
|
||||
#define EPSILON 1e-6
|
||||
${ShaderChunk.logdepthbuf_pars_vertex}
|
||||
|
||||
varying vec3 vPosition;
|
||||
|
Loading…
Reference in New Issue
Block a user