From 3e407f6c718987b0e2f484076eac8b5d5aaf4a98 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Mon, 4 Jan 2021 17:14:21 +1100 Subject: [PATCH] Fixed glass dice colour --- src/dice/glass/GlassDice.js | 4 ++-- src/docs/releaseNotes/v1.7.0.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dice/glass/GlassDice.js b/src/dice/glass/GlassDice.js index 2631f53..62a5693 100644 --- a/src/dice/glass/GlassDice.js +++ b/src/dice/glass/GlassDice.js @@ -26,9 +26,9 @@ class GlassDice extends Dice { pbr.metallic = 0; pbr.subSurface.isRefractionEnabled = true; pbr.subSurface.indexOfRefraction = 2.0; - pbr.subSurface.refractionIntensity = 1.2; + pbr.subSurface.refractionIntensity = 1.0; pbr.subSurface.isTranslucencyEnabled = true; - pbr.subSurface.translucencyIntensity = 2.5; + pbr.subSurface.translucencyIntensity = 0.5; pbr.subSurface.minimumThickness = 10; pbr.subSurface.maximumThickness = 10; pbr.subSurface.tintColor = new Color3(43 / 255, 1, 115 / 255); diff --git a/src/docs/releaseNotes/v1.7.0.md b/src/docs/releaseNotes/v1.7.0.md index 8dbd07b..9a318a0 100644 --- a/src/docs/releaseNotes/v1.7.0.md +++ b/src/docs/releaseNotes/v1.7.0.md @@ -47,8 +47,9 @@ In this update the fog tool has been changed to hopefully help work better with - Added support for a larger layout for map/token selection and editing for bigger displays. - Changed map automatic quality options to better represent map details. - Fixed crash when sometimes interacting with the page while it is loading. -- Fixed crash when sometimes zoom out far with a custom token on the map. +- Fixed crash when sometimes zooming out too far with a custom token on the map. - Fixed a bug where the drawing erase tool could still be used outside of the drawing tool. +- Fixed a bug causing the colour of the glass dice to be wrong. ---