feat: GradationGradient supports HDR color

This commit is contained in:
mob-sakai
2025-05-24 19:21:26 +09:00
parent f98929d7e9
commit 50f6b3c5d2
+1 -1
View File
@@ -266,7 +266,7 @@ namespace Coffee.UIEffects
private static readonly InternalObjectPool<Texture2D> s_TexturePool = new InternalObjectPool<Texture2D>(
() =>
{
var texture = new Texture2D(s_Colors.Length, 1, TextureFormat.RGBA32, false, false)
var texture = new Texture2D(s_Colors.Length, 1, TextureFormat.RGBAFloat, false, false)
{
name = "GradationRamp",
hideFlags = HideFlags.DontSave,