add initial support for textures, implement blackbody tex type, add tex support for lights, refactor emit methods for primitive vals