@@ -46,13 +46,13 @@ private void Initialize()
4646
4747 private void CreateHueImage ( )
4848 {
49- _hueTexture = new Texture2D ( 1 , 16 ) ;
49+ _hueTexture = new Texture2D ( 1 , 16 , TextureFormat . RGBA32 , false ) ;
5050 _hueTexture . wrapMode = TextureWrapMode . Clamp ;
5151 _hueTexture . name = "HueTexture" ;
5252
5353 for ( int i = 0 ; i < _hueTexture . height ; i ++ )
5454 {
55- _hueTexture . SetPixel ( 0 , i , Color . HSVToRGB ( i / ( float ) _hueTexture . height , 1 , 0.95f ) ) ;
55+ _hueTexture . SetPixel ( 0 , i , Color . HSVToRGB ( i / ( float ) _hueTexture . height , 1f , 1f ) ) ;
5656 }
5757
5858 _hueTexture . Apply ( ) ;
@@ -63,7 +63,7 @@ private void CreateHueImage()
6363
6464 private void CreateSatValImage ( )
6565 {
66- _satValTexture = new Texture2D ( 16 , 16 ) ;
66+ _satValTexture = new Texture2D ( 16 , 16 , TextureFormat . RGBA32 , false ) ;
6767 _satValTexture . wrapMode = TextureWrapMode . Clamp ;
6868 _satValTexture . name = "SatValTexture" ;
6969
@@ -84,7 +84,7 @@ private void CreateSatValImage()
8484
8585 private void CreatePreviousOutputImage ( )
8686 {
87- _previousOutputTexture = new Texture2D ( 1 , 16 ) ;
87+ _previousOutputTexture = new Texture2D ( 1 , 16 , TextureFormat . RGBA32 , false ) ;
8888 _previousOutputTexture . wrapMode = TextureWrapMode . Clamp ;
8989 _previousOutputTexture . name = "PreviousOutputTexture" ;
9090
@@ -101,7 +101,7 @@ private void CreatePreviousOutputImage()
101101
102102 private void CreateCurrentOutputImage ( )
103103 {
104- _currentOutputTexture = new Texture2D ( 1 , 16 ) ;
104+ _currentOutputTexture = new Texture2D ( 1 , 16 , TextureFormat . RGBA32 , false ) ;
105105 _currentOutputTexture . wrapMode = TextureWrapMode . Clamp ;
106106 _currentOutputTexture . name = "CurrentOutputTexture" ;
107107
0 commit comments