HDR Color
It works when create shape by menu bar in editor,but use c# draw command it lose hdr effect of color.
...
[ColorUsage(true, true)]
public Color InnerStartColor;
...
_discColors.innerStart = InnerStartColor;
_discColors.innerEnd = InnerEndColor;
_discColors.outerStart = OuterStartColor;
_discColors.outerStart = OuterEndColor;
Draw.DiscGeometry = DiscGeometry;
Draw.Matrix = transform.localToWorldMatrix;
Draw.Radius = Radius;
Draw.Thickness = Thickness;
Draw.RadiusSpace = ThicknessSpace;
Draw.ThicknessSpace = ThicknessSpace;
Draw.ZTest = ZTest;
Draw.UseDashes = Dashed;
if(Dashed)
Draw.DashStyle = DashStyle;
switch (DiscType)
{
case DiscType.Disc:
Draw.Disc(_discColors);
did you find the issue on your end? otherwise I'll be closing this unless I can reproduce it
thanks, just close this