So, I’m working on a PBR plugin (has a few skyboxes aswell) and I’m focusing on making it as optimized as possible and I have a question!
Currently I have ALL texture/skybox IDs inside a table like this and I’m wondering if it would be smarter to place all the textures in a folder as surface appearances and just clone them to the mesh?
(Picture is less than half of the textures)
I suggest doing the dedicated folder for textures.
While I have no knowledge in this area, I think that this method simplifies the process and enhances the overall organization. Additionally, I’ve been utilizing a totally specific plugin that has proven to be quite effective, as long as the PBR textures maintain their original proportions and aren’t distorted.
But to be fair, this is optimization, I really do not know so it’s kind of a game of luck.
I mean that manually typing out the table manually will cause potential typos, I suggest taking look at textures and generating your table PROGRAMATICALLY!
Yep this removes the “delay” when importing the texture also called loading in the texture because its already loaded in when launching the plugin! Thank you!
NOTE: It does increase the plugins file size but its still only 600kb
I meant that, Do not type out table manually, get the textures, put them in a folder, and generate data automatically through script that will look into that folder.
The issue doesn’t consistently occur. However, I’ve noticed that sometimes when I apply a texture to a mesh, it can result in stretching or distortion.