Open Kofola45cz opened 2 years ago
Do you mean adding a solid color to the back of an image instead of seeing a reverse image?
Do you mean adding a solid color to the back of an image instead of seeing a reverse image?
Yep -> of course on/off this option, otherwise there's no point in adding it
Well how the images are rendered, its essentially a 2d image with no thickness, to add a solid back to it, it would require rendering a second image (solid colored) directly behind it.
Essentially you would be loading two images for every image. Also i don't know where data for what color the image will be, should be stored. size and url is stored on the sign but it can only hold so much info.
Well, theoretically 1x character after or before the whole string would be enough (so as not to corrupt the data), and it would be enough to distinguish the color like in Minecraft Vanilla (&4 = dark red, &c = red -> https://www.digminecraft.com/lists/color_list_pc.php), and once it's there, when ON (when adding a background), signpicture would automatically recognize that there is a background and with what color? Obviously it wouldn't be a url to the internet, but just to the basic Minecraft Vanilla colors palette saved in the mod, probably easily 1x1 pixel -> after all it would be purely one-color -> stretching, sizing, etc. would be according to the front image Of course, care should be taken that the render of the back "image" or background is not a hard render after all it would have only one task, and that is to hide the view of the flipping image Of course I understand that it is not easy, just because there is not already enough space for a sign and to avoid unnecessary bugs 😅
Well if I've learned anything my time from coding: The bugs will come crawling!😄