Skip to content

Commit

Permalink
Fix log depth new three versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tentone committed Nov 2, 2019
1 parent 6718995 commit 452a018
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion build/potree.js
Original file line number Diff line number Diff line change
Expand Up @@ -3929,8 +3929,8 @@ precision highp float;
precision highp int;
#define MAX_CLIP_POLYGONS 8
#define PI 3.141592653589793
` + THREE.ShaderChunk.common + `
` + THREE.ShaderChunk.logdepthbuf_pars_vertex + `
attribute vec3 position;
Expand Down Expand Up @@ -4729,6 +4729,7 @@ void main()
precision highp float;
precision highp int;
` + THREE.ShaderChunk.common + `
` + THREE.ShaderChunk.logdepthbuf_pars_fragment + `
uniform mat4 viewMatrix;
Expand Down
6 changes: 3 additions & 3 deletions build/potree.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion build/potree.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -3923,8 +3923,8 @@ precision highp float;
precision highp int;
#define MAX_CLIP_POLYGONS 8
#define PI 3.141592653589793
` + THREE.ShaderChunk.common + `
` + THREE.ShaderChunk.logdepthbuf_pars_vertex + `
attribute vec3 position;
Expand Down Expand Up @@ -4723,6 +4723,7 @@ Shaders.fragment = `
precision highp float;
precision highp int;
` + THREE.ShaderChunk.common + `
` + THREE.ShaderChunk.logdepthbuf_pars_fragment + `
uniform mat4 viewMatrix;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "potree-core",
"version": "1.0.6",
"version": "1.0.7",
"description": "Potree wrapper for threejs applications",
"main": "build/potree.module.js",
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion source/Shaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ precision highp float;
precision highp int;
#define MAX_CLIP_POLYGONS 8
#define PI 3.141592653589793
` + THREE.ShaderChunk.common + `
` + THREE.ShaderChunk.logdepthbuf_pars_vertex + `
attribute vec3 position;
Expand Down Expand Up @@ -808,6 +808,7 @@ Shaders.fragment = `
precision highp float;
precision highp int;
` + THREE.ShaderChunk.common + `
` + THREE.ShaderChunk.logdepthbuf_pars_fragment + `
uniform mat4 viewMatrix;
Expand Down

0 comments on commit 452a018

Please sign in to comment.