Jump to content

Geometry and tessellation stages


Rastar
 Share

Recommended Posts

Will those stages be available in the shader editor of 3.1?

 

And, while I'm at it: Has anybody experience with using the tessellation shader for heightmap displaced terrains? I guess instead of sending the patches to the GPU they would be tessellated right there to decrease the amount of data that has to be sent over. Is there are noticeable performance benefit from that?

Link to comment
Share on other sites

Yes, 3.1 has two additional tabs for the control and evaluation shaders. I have read conflicting things over whether geometry shaders are uniformly supported, and haven't messed around with them yet.

 

The savings on terrain rendering would be that instead of 5 different LOD versions being processed, the tessellator can take care of the LOD, so the patches don't have to be sorted into separate batches by LOD.

 

I have found it's best to use a tessellation multiplier value and then use the entity distance from the camera to adjust tessellation. This works better than doing a per-primitive approach.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...