jPCT-AE - a 3d engine for Android > Support

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

(1/1)

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.

Navigation

[0] Message Index

Go to full version