Author Topic: Some issues about materials and lights.  (Read 1640 times)

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Some issues about materials and lights.
« on: January 30, 2013, 01:07:45 pm »
Does the engine support the materials of models?

For example, export .obj and .mtl, there are some materials data in .mtl, does the engine use them to calculate the lights effect?

Could i specify the ambient\diffuse\specular for Object3D\mesh?

Could i specify the ambient\diffuse\specular for lights?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Some issues about materials and lights.
« Reply #1 on: January 30, 2013, 04:43:15 pm »
It reads texturing information, transparency and diffuse colors (only for untextured polygons). Everything will be ignored.