RenderState2D and MaterialRenderer

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
zola
Posts: 52
Joined: Thu Jul 15, 2004 2:31 pm
Location: switzerland
Contact:

RenderState2D and MaterialRenderer

Post by zola »

Hi

Is there a special reason that the 3D renderstate use materials and materialrenderer and the 2D renderstate do not?

I'm just curious because the only real difference I can find is that in 2D mode the matrices are built differently and the polys are drawn somewhat different. But apart from that the 2D mode could also profit from the materailrenderer mechanism.

Regards
Tom
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

More historical reasons than logical. It simply grew this way. :) But it would be useful, you're right. The only thing is that it would be more difficult to use. But that's no problem if I'd change that, the simple 2D methods could just stay on where they are and continue to work.
Post Reply