Roblox changes its RGB value when you have a neon part, as can be shown by these 2 pictures below.
The second picture is in studio whereas the first picture is in Blender.
I’m trying to replicate the neon colouring of studio, I’ve attempted it by using information from this thread.
I reversed the function above resulting in this.
function invertNeonTransform(color) color = color * color color = color * 0.25 color = math.sqrt(color) color = math.sqrt(color) color = color / 1.35 return color end function revertNeonTransform(color) color = color * 1.35 color = color^2 color = color^2 color = color / 0.25 color = math.sqrt(color) return color end
However, this gives an incorrect result
Would anyone have any idea on how to achieve a more color correct change or what math would be need to used ?