Hi X301,
Could you please file a bug report with a minimal reproduction project for this issue and reply in here with the case #?
You can find more information about bug reporting here.
Looks like the new hub creates projects in linear mode by default, not gamma. I will dig around and see if this is an intended change.
You can work around this by changing the ColorSpace to Gamma in the player settings.
EDIT: I’ve been looking at how to make this run in linear mode, and it looks like the color you use in the lookup table will be slightly different if you run the project in linear. You might have to apply a gamma curve yourself or make sure you author content (and import textures) in the color mode you want. What I will do is making sure SetColorArray converts the color values you provide to the shader to the space the shader operates in, since this does not seem to be correct at the moment.
EDIT2: SetColorArray and GetColorArray both have this line in the documentation: “No sRGB-linear conversion is done during the function call.”
I’m unable to change this without breaking existing scripts, so you will have to convert to linear yourself when setting the colors if you want to run in linear mode. This combined with a gamma correct shader should give you the desired result.
The bug has been closed as by design, but perhaps this is something that can be revisited later