SoftwareRenderer: Fixed the distortion bug and experimented wth a hacky way of passing different "materials" to the rasterer.