I am currently using Sketchfab data API to upload some 3D models made in an app i'm working on.
Everything has been working great thus far, models uploading and the Uid being placed into some iframes that im adding dynamically to the website (Without the viewer API).
The problem i'm having is, the voxel models have textures that are point filtered or "Nearest". Therefore i need to go into the PBR Channel settings in the 3D options, and set the base RGB to have nearest filtering rather than Trilinear.
I would love to be able to edit this setting on Sketchfab directly, but i am at a loss at how to do it as the API for editing the 3D options is very minimal...
It looks like it's possible to do this within my embedded iframes using the viewer API, but it doesnt seem super well documented as to how exactly i would access this info. Would i be using the viewer API utility?
Would love to get some light shed on this as i'm at a loss at this point, the models look AWFUL without this change.
If there's anyway to tell sketchfab to make this default changes through the model file somehow, i would be totally fine with putting some extra piece of text into it, maybe some sketchfab specific note.
Awaiting responses, thanks a lot in advance to anyone taking the time to help me here.
Above is the really big question, but additionally, I'm noticing that the "nearest" setting requires the texture to be power of 2 in order to be accurately assigned. My textures are an arbitrarily sized atlas, so this isn't working properly and the textures are getting messed up.
I can just ignore this issue and make sure that it makes the texture im using go up to the nearest power of 2.. but if it's possible not to, i would love to avoid this.