mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-07-24 13:11:19 -04:00
Fix color inversion bug on mobile
This commit is contained in:
parent
d9c5b595a2
commit
bd8ca26bb7
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ varying vec2 v_texCoord;
|
|||
// See also: https://en.wikipedia.org/wiki/HSL_and_HSV#Formal_derivation
|
||||
|
||||
// Smaller values can cause problems with "color" and "brightness" effects on some mobile devices
|
||||
const float epsilon = 1e-4;
|
||||
const float epsilon = 1e-3;
|
||||
|
||||
// Convert an RGB color to Hue, Saturation, and Lightness.
|
||||
// All components of input and output are expected to be in the [0,1] range.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue