#combining textures
66 messages · Page 1 of 1 (latest)
there is option to merge the texture to the above one btw save for back when u do this kinda of stuff you u never know also u can resize the texture/uv map and use a solftware to combine both
so when I click "merge to texture above" will it just go into the above texture, then I save the above texture without needing to save the bottom one?
Yes that should be correct.
The second texture has a corrupted texture/black and purple
1st part of the model is textured, then the 2nd half isn't
In game you mean?
sent screenshot
yes
2nd part is textured
I merged the textures btw
Did you remember to update your textures in your folders and also in your json?
no, I just merged the textures and exported
I merged the textures then saved that
into my texture folder
You need to update your json
You open it in a text editor and edit the line which links your texture
Or just re-export it in Blockbench
What is your texture name and where is it located?
the model is called "brick.json" and the texture is "brick.png" and they're in the model and texture folders
the only issue is the 2nd texture not working
even tho I merged it
Is brick.png directly in the textures folder? No subfolders?
yep
same with the model
I click "merged to the texture above"
then do I save "brick.png" into the texture folder?
Yes
Open your json in a text editor
And send me a screenshot of the first few lines
This is the issue.
Your json is currently looking for the brick texture in the item subfolder.
Change "0": "item/brick" to "0": "brick"
Also, you should also be fine to delete the next line after that entirely since you are no longer using that texture
ok
let me save and test
its not working, and now the entire model has corrupted textures. I might as well duplicate the entire model in a new project and use eye dropper to copy the pixel textures and just retexture pixel by pixel.
and make only one texture for the entire model
Take a screenshot of your file directory of where your texture is located, starting from assets
btw have u checked the console?
You said that your texture is located directly in your textures folder with no subolders here.
In that case change "0": "brick" back to "0": "item/brick" and it'll work
The "item/brick" indicates that your texture name is brick.png, located in the subfolder named item in the folder texture, which is matching your file directory
It wasn't working before because we put it as just "0": "brick", indicating that the texture's name is brick.png located directly in the textures folder, which is wrong, resulting in the error
ok
Your json file path and your actual file path always need to match. Otherwise it just won't work.