Is it possible to construct a cube with less than 24 vertices

Posted by Telanor on Game Development See other posts from Game Development or by Telanor
Published on 2012-06-26T08:14:43Z Indexed on 2012/06/26 9:23 UTC
Read the original article Hit count: 278

Filed under:
|

I have a cube-based world like minecraft and I'm wondering if there's a way to construct a cube with less than 24 vertices so I can reduce memory usage.

It doesn't seem possible to me for 2 reasons: the normals wouldn't come out right and per-face textures wouldn't work.

Is this the case or am I wrong? Maybe there's some fancy new dx11 tech that can help?

Edit: Just to clarify, I have 2 requirements: I need surface normals for each cube face in order to do proper lighting and I need a way to address a different indexes in a texture array for each cube face

© Game Development or respective owner

Related posts about directx

Related posts about directx11