About Store Forum Documentation Contact



Post Reply 
Tessellation on transparent objects
Author Message
Tottel Offline
Member

Post: #1
Tessellation on transparent objects
Hi,

I've been fiddling a bit with tessellation in my benchmark tool, and I'm sad to say that I can't use it at all.

It seems to affect all objects, including vegetation (lots of alpha planes), and this is completely killing my performance. Just enabling it (not on terrain) with a super low density (lower than 10) brings my fps down from 30 to less than 1.

Why is it so bad for transparent meshes? Is it possible to disable it for certain mesh parts/alpha meshes?
e.g. I don't want it on bushes, I don't want it on leaves, but I do want it on the tree trunks.

Thanks!
(This post was last modified: 04-09-2015 03:11 PM by Tottel.)
04-09-2015 01:38 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Tessellation on transparent objects
You can call D.setGetShaderFunc
and inside it provide a callback that will disable Bool allow_tesselation for desired meshes/materials
04-09-2015 10:32 PM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #3
RE: Tessellation on transparent objects
Esenthel: Thanks! That helps a lot.
04-10-2015 07:39 AM
Find all posts by this user Quote this message in a reply
Post Reply