ether shader modified to work with spectrum

This commit is contained in:
ntr committed 2022-05-26 13:29:30 +10:00
1 parent a2f0ed170b
commit 8e9f8c598f
41 files changed
+2982 -260

No files matched your search

+2 -2
View File
@@ -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;
}