Sign in to follow this  

Terrain Geometry Shader

This topic is 3723 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I'm thinking about hacking around with a CLOD terrain system entirely in a geometry shader. Something along the lines of sending a 32x32 grid of quads (or rather, 32x32x2 triangles) through the system and letting the shader tesselate appropriately. Or a series of these, since geometry shaders can only output so many vertices. The major headache I see is the tesselation; since I can't realy store a 'queue' of triangles as I tesselate that need to be further tesselated, I'd have to find out how finely I need to a certain triangle in one shot (it sounds do-able in my head). I was wondering if anyone else knew of any considerations, or even if someone has already tried this yet. Moreover, is it even worth it? I can't claim to be a graphics expert - a geometry shader approach may be less efficient than ROAM or something else, but the idea of retesselating on the CPU and sending the updated triangles to the graphics card each frame never sat well with me. Cheers, --Brian

Share this post


Link to post
Share on other sites
I bet that tessalating on the CPU would be alot faster than tessalating in the geometry shader...
Simply because, at the moment, geometry shaders are a new concept in hardware, thus they are REALLY slow...almost unusably slow, especially for real time stuff.

I would go with something like Geometry Clipmaps; they are quite fast and most of the work is done on the gpu

Share this post


Link to post
Share on other sites

This topic is 3723 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this