Skip to main content
added 6 characters in body
Source Link
Ken
  • 6.1k
  • 3
  • 36
  • 51

you won't be able could cull backfaces any where near as quick as the GPU. especialyEspecially if you are modifingmodifying or recreating the vertex buffer otor index buffer on frame-by-frame basis.

I would either;

  1. turn off backface culling (at least for the boxes) and live with the extra triangestriangles being drawn (it'll still be much, much faster than your custom backface culling)

  2. fix your winding order

you won't be able could cull backfaces any where near as quick as the GPU. especialy if you are modifing recreating the vertex buffer ot index buffer on frame-by-frame basis.

I would either;

  1. turn off backface culling (at least for the boxes) and live with the extra trianges being drawn (it'll still be much, much faster than your custom backface culling)

  2. fix your winding order

you won't be able could cull backfaces any where near as quick as the GPU. Especially if you are modifying or recreating the vertex buffer or index buffer on frame-by-frame basis.

I would either;

  1. turn off backface culling (at least for the boxes) and live with the extra triangles being drawn (it'll still be much, much faster than your custom backface culling)

  2. fix your winding order

added 114 characters in body
Source Link
Ken
  • 6.1k
  • 3
  • 36
  • 51

you won't be able could cull backfaces any where near as quick as the GPU. especialy if you are modifing recreating the vertex buffer ot index buffer on frame-by-frame basis.

I would either;

  1. turn off backface culling (at least for the boxes) and live with the extra trianges being drawn (it'll still be much faster than your custom backface culling)

    turn off backface culling (at least for the boxes) and live with the extra trianges being drawn (it'll still be much, much faster than your custom backface culling)

  2. fix your winding order

    fix your winding order

you won't be able could cull backfaces any where near as quick as the GPU.

I would either;

  1. turn off backface culling (at least for the boxes) and live with the extra trianges being drawn (it'll still be much faster than your custom backface culling)
  2. fix your winding order

you won't be able could cull backfaces any where near as quick as the GPU. especialy if you are modifing recreating the vertex buffer ot index buffer on frame-by-frame basis.

I would either;

  1. turn off backface culling (at least for the boxes) and live with the extra trianges being drawn (it'll still be much, much faster than your custom backface culling)

  2. fix your winding order

Source Link
Ken
  • 6.1k
  • 3
  • 36
  • 51

you won't be able could cull backfaces any where near as quick as the GPU.

I would either;

  1. turn off backface culling (at least for the boxes) and live with the extra trianges being drawn (it'll still be much faster than your custom backface culling)
  2. fix your winding order