Compute.SetColor
void SetColor(string name, Color colorGamma)
Set a color parameter by name! Color is converted from gamma to linear space, so what the shader receives will be in linear. If you’re working in linear already, use SetVector with a Vec4 instead!
void SetColor(string name, Color32 colorGamma)
Set a color parameter by name! Color is converted from gamma to linear space, so what the shader receives will be in linear. If you’re working in linear already, use SetVector with a Vec4 instead!
Found an issue with these docs, or have some additional questions? Create an Issue on Github!