does jpct support roughness and metallic material without self-written shaders?

Started by jeaimell, July 20, 2017, 10:27:54 AM

Previous topic - Next topic

jeaimell

Hi, many 3d tools export the basic texture for colors, and some other material files, like roughness, metallic, specular, heighty. i am wondering whether these files can be applied directly on the mesh by calling some API of jpct, or i have a write shaders(which is more complex) ?  the scenekit on ios can easily config these properties without writing code.

EgonOlsen

No, you would have to write your own shaders for that. Remember that in iOS, your shader has to work on one GPU architecture where in Android, there are (at least) 6 different ones with different sub-types. I just can't support a huge set of shaders that works on all of them.