I have made a cg shader and all lights work fine, included the spot lights, but point lights are seen as a square, it happens the same if you use a spot light without the unity cookie attenuation. Seems to be any problem with getting the unity cubemap for the point light.
↧