For a script i am making i have to change the range and brightness of a pointlight, the sequence starts at 200 brightness and 5 range, brightness is supposed to be 1/3 of it’ previous value if range’s value doubles, and 1/9 if it quadruples, and so on and so on.
How could i get this number from a single line of math operations?
it seems to be more like this: 600 * ((1 / 3) ^ (light.Range / 5))
still not quite right though
probably because the 5 isn’t supposed to be a constant, it should double every time the product of light.Range / 5 increases by 1.