3 ms·
Or even better, couldn’t you use a single quad and a geometry shader?
by taneq 7y ago
Or even better, couldn’t you use a single quad and a geometry shader?
- pastrami_panda 7y agoGeometry shaders seems sort of the bastard child of the graphics pipeline. It was a mess to implement in hardware and the throughput isn't that great when creating tons of triangles. The tesselation stages of the pipeline addresses this and is more suitable for arbitrary subdivision of triangles.
- vardump 7y agoWhy not a single quad and a fragment (=pixel) shader? A bit of ray marching, something like this [0]. [0]: http://www.iquilezles.org/www/articles/terrainmarching/terrainmarching.htm http://www.iquilezles.org/www/articles/terrainmarching/terra...