MikaFil commited on
Commit
f8fe07b
·
verified ·
1 Parent(s): 857088f

Update viewer_ar.js

Browse files
Files changed (1) hide show
  1. viewer_ar.js +2 -2
viewer_ar.js CHANGED
@@ -220,7 +220,7 @@
220
 
221
  // ===== Blob Shadow =====
222
  var blob = null; // entité plane de l’ombre
223
- var BLOB_SIZE = 0.7;
224
  var BLOB_OFFSET_Y = 0.005;
225
 
226
  function makeBlobTexture(app, size = 256) {
@@ -230,7 +230,7 @@
230
 
231
  const r = size * 0.45;
232
  const grd = ctx.createRadialGradient(size/2, size/2, r*0.2, size/2, size/2, r);
233
- grd.addColorStop(0, 'rgba(0,0,0,0.35)'); // centre sombre
234
  grd.addColorStop(1, 'rgba(0,0,0,0.0)'); // bords transparents
235
  ctx.fillStyle = grd;
236
  ctx.fillRect(0, 0, size, size);
 
220
 
221
  // ===== Blob Shadow =====
222
  var blob = null; // entité plane de l’ombre
223
+ var BLOB_SIZE = 0.4;
224
  var BLOB_OFFSET_Y = 0.005;
225
 
226
  function makeBlobTexture(app, size = 256) {
 
230
 
231
  const r = size * 0.45;
232
  const grd = ctx.createRadialGradient(size/2, size/2, r*0.2, size/2, size/2, r);
233
+ grd.addColorStop(0, 'rgba(0,0,0,0.5)'); // centre sombre
234
  grd.addColorStop(1, 'rgba(0,0,0,0.0)'); // bords transparents
235
  ctx.fillStyle = grd;
236
  ctx.fillRect(0, 0, size, size);