Something
public python v1 · immutableimport Blendertex = Blender.Texture.GetCurrentPytex()coords = tex.getPytexCoords()def magnitude( a ): return ( a[0]**2 + a[1]**2 + a[2]**2)**0.5def scale( a ): return a / 1.4142a = scale( magnitude( coords ) )tex.setPytexIntensity