Hello,
Here is my issue: I have a number of grayscale textures that I would like to be able to apply a combination of color gradients to. If I were to render these out to individual image files, it would result in a very large number of files that would undoubtedly take up a lot of storage space in my final package. However, the per-pixel operation to do this is fairly simple (color multiply - multiply each color channel from the two source colors together).
While it would not be terribly complicated to implement a code solution that generates the intended textures from source files (which then are cached and applied to object materials, naturally), is there a way to do this that’s already built into the engine? Would it be possible for me to extend the lighting material definition file to perform this operation? The lighting material definition seems to already support a multiply-based operation with its flat color modifiers, but I can understand if combining textures in this way may be a more complex operation than the material engine was intended to perform.
Finally, although this is a bit of a separate question, but am I right in assuming that there’s currently no handling of indexed image textures?