www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: jeaimell on July 20, 2017, 10:27:54 am

Title: does jpct support roughness and metallic material without self-written shaders?
Post by: jeaimell on July 20, 2017, 10:27:54 am
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.
Title: Re: does jpct support roughness and metallic material without self-written shaders?
Post by: EgonOlsen on July 20, 2017, 02:03:29 pm
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.