2d image materials + lights


It would be great if there was a class that inherits from image and you had the ability to add, normal maps, specular maps plus a boolean that enables it to cast shadows. It could be called “texture”.

What would also be great is the addition of 2d lights to a scene: spotlights, radial lights, area lights and via a light image. lights would also need coloring.