Author Topic: about multi-texture, different stages inside an object?  (Read 1560 times)

Offline MichaelJPCT

  • float
  • ****
  • Posts: 264
    • View Profile
about multi-texture, different stages inside an object?
« on: June 24, 2017, 06:38:08 am »
the TextureInfo/PolygonManager method gives me an impression that polygons in an object3D can have different tex stages, such as polygon A has 3 stages while polygon B has 2 stages. is it correct?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: about multi-texture, different stages inside an object?
« Reply #1 on: June 24, 2017, 09:45:04 am »
Yes, but this will split the internal representation of the object when it gets compiled, which will increase the amount of render calls. After compilation/build, you can't change the number of stages per polygon anymore. So basically: Yes, you can do that, but it has some drawbacks that you should be aware of.