Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Absolutely. The minimal mesh is just 3 triangles rendering a 3D texture that contains depth information that gets raytraced in a shader. Or you could send a single point vertex over and have a geometry shader generate the geometry vertices for you.

Or you could reduce the texture complexity to a 2D texture without raytracing if you defined the coin mathematically in the shader. Heck, you could get rid of the texture entirely and just do everything with math in the shader.

3D graphics used to require rigid hardware distinctions between vertices and textures and etc, but in modern pipelines it's pretty much all data and the programmer decides what to do with it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: