ether shader modified to work with spectrum
This commit is contained in:
1 parent
a2f0ed170b
commit
8e9f8c598f
41 files changed
+2982
-260
No files matched your search
@@ -53,9 +53,9 @@ public class ThemeShaderBinder : MonoBehaviour
|
||||
_texture.wrapMode = TextureWrapMode.Clamp;
|
||||
|
||||
for (int i = 0; i < textureSize; i++) {
|
||||
// Color decomposed = DecomposeHdrColor(_theme.Evaluate((float)i / (float)textureSize));
|
||||
if (_theme == null) return;
|
||||
Color color = _theme.Evaluate((float)i / (float)textureSize);
|
||||
Color color = DecomposeHdrColor(_theme.Evaluate((float)i / (float)textureSize));
|
||||
// Color color = _theme.Evaluate((float)i / (float)textureSize);
|
||||
_colorCache[i] = color;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user