Author Topic: does jpct support roughness and metallic material without self-written shaders?  (Read 136 times)

Offline jeaimell

  • byte
  • *
  • Posts: 1
    • View Profile
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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
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.