Hello Corona devs and Corona users,
I think it would be great to have more control over plugged textures via CoronaMultiMap with CoronaDecal.
Why?
For example, right now I have a project where I need to brand 10 different objects which have different sizes. Decal texture and its pattern scale stays the same – it looks like barricade tape (red/white) and it differs only by length.
So in such case it has no sense to prepare a set of different textures only because the length differs, it has sense to use one tiled part.
It also has sense to control the object properties with one shader.
Because Decal element has no tiling option build in (and I can not apply UVW mapping on it), I decided to create such construction:
Texture 1,2,3,4,5 (with different tiling option) -> CoronaMultiMap -> CoronaMaterial. And wanted to define the specific texture via ObjectGBuffer ID, which works perfect with classic polygons, but does not work with Decals. Material modifier also does not work in this case.
Please, look at my attachment image.
It would be great in the future to be able to control the texture through Decal G-Buffer ID.
I would also be very grateful if you tell me if there are any workarounds for now...
Best regards.