File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ class Lut {
57
57
const min = this . map [ j ] [ 0 ]
58
58
const max = this . map [ j + 1 ] [ 0 ]
59
59
60
- minColor . setHex ( this . map [ j ] [ 1 ] , 'linear- srgb' )
61
- maxColor . setHex ( this . map [ j + 1 ] [ 1 ] , 'linear- srgb' )
60
+ minColor . setHex ( this . map [ j ] [ 1 ] , 'srgb-linear ' )
61
+ maxColor . setHex ( this . map [ j + 1 ] [ 1 ] , 'srgb-linear ' )
62
62
63
63
const color = new Color ( ) . lerpColors ( minColor , maxColor , ( alpha - min ) / ( max - min ) )
64
64
@@ -131,8 +131,8 @@ class Lut {
131
131
const min = this . map [ j - 1 ] [ 0 ]
132
132
const max = this . map [ j ] [ 0 ]
133
133
134
- minColor . setHex ( this . map [ j - 1 ] [ 1 ] , 'linear- srgb' )
135
- maxColor . setHex ( this . map [ j ] [ 1 ] , 'linear- srgb' )
134
+ minColor . setHex ( this . map [ j - 1 ] [ 1 ] , 'srgb-linear ' )
135
+ maxColor . setHex ( this . map [ j ] [ 1 ] , 'srgb-linear ' )
136
136
137
137
finalColor . lerpColors ( minColor , maxColor , ( i - min ) / ( max - min ) )
138
138
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ class Reflector extends Mesh {
213
213
214
214
renderer . xr . enabled = false // Avoid camera modification
215
215
renderer . shadowMap . autoUpdate = false // Avoid re-computing shadows
216
- if ( 'outputColorSpace' in renderer ) renderer . outputColorSpace = 'linear- srgb'
216
+ if ( 'outputColorSpace' in renderer ) renderer . outputColorSpace = 'srgb-linear '
217
217
else renderer . outputEncoding = 3000 // LinearEncoding
218
218
renderer . toneMapping = NoToneMapping
219
219
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ class Refractor extends Mesh {
241
241
242
242
renderer . xr . enabled = false // avoid camera modification
243
243
renderer . shadowMap . autoUpdate = false // avoid re-computing shadows
244
- if ( 'outputColorSpace' in renderer ) renderer . outputColorSpace = 'linear- srgb'
244
+ if ( 'outputColorSpace' in renderer ) renderer . outputColorSpace = 'srgb-linear '
245
245
else renderer . outputEncoding = 3000 // LinearEncoding
246
246
renderer . toneMapping = NoToneMapping
247
247
You can’t perform that action at this time.
0 commit comments