Jump to content

Transparent materials and alpha sorting


Recommended Posts

The renderer is a big Change that has the advantage of being very long term and really good FPS-wise, so that's why I think it's the second highest priority (particulalrly as theres really noone else to do it).

Quickest hack to increase performance, would be to put the bucket maps and vectors into ShaderModelRendererInternals. That would save at least a bit on the memory allocation performance.. heh.

Link to comment
Share on other sites

Similar results in both my Macbook air with GAM 950 and my ≈4 year old iMac:

On Gambia river, after lowering the camera as much as possible (using the start camera) and revealing map:

Without the patch, full rendering of a frame is according to the profiler 170ms. With it, it's 140 ms. I'm fairly sure we could win another 40 ms if bushes used the no-sort material too.

Doesn't seem to be any artifacts but I invite you to test it out.

Obviously this only speeds up tree rendering when there are lots of them.

For the record, I think we could also use alpha test on a per-material basis, and it could be another speed up for trees without many changes either.

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.

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...