Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualnox_pp

Posted 20 August 2012 - 10:06 AM

It's very in-efficient and I'm trying to find out how to have VBOs with only 8 floats for the vertexes.


Well, if you want to take that idea to the extreme...you can get away with 1 float per voxel if you use a geometry shader, but I can't speak to the speed or plausibility of that. You could also apply the same idea by sending your 8 floats through, and then using the geometry shader to generate whatever else you need. And finally, you can try sending 8 floats plus an integer index buffer.

#2nox_pp

Posted 20 August 2012 - 10:04 AM

It's very in-efficient and I'm trying to find out how to have VBOs with only 8 floats for the vertexes.


Well, if you want to take that idea to the extreme...you can get away with 1 float per voxel if you use a geometry shader, but I can't speak to the speed of that. You could also apply the same idea by sending your 8 floats through, and then using the geometry shader to generate whatever else you need. And finally, you can try sending 8 floats plus an integer index buffer.

#1nox_pp

Posted 20 August 2012 - 10:02 AM

It's very in-efficient and I'm trying to find out how to have VBOs with only 8 floats for the vertexes.


Well, if you want to take that idea to the extreme...you can get away with 1 float per voxel if you use a geometry shader, but I can't speak to the speed of that. You could also apply the same idea by sending your 8 floats through, and then using the geometry shader to generate whatever else you need. And finally, you can send 8 floats plus an integer index buffer.

PARTNERS