> De: "Renk Thorsten"
> 
> > To summarize, all objects having a pass of render bin -1 are
> > rendered before any object having a render bin 1. If an object have two
> > passes, it is rendered twice, once with the objects of the same render bin
> > than the first pass, once with the objects of the same render bin than
> > the second pass. The second pass can be rendered before the first pass
> > if the render bin numbers are inverted (the pass number has no
> > rendering meaning).
> 
> Thanks Fred, you just helped me squeezing a 30% higher framerate out
> of trees. Going to try the trick on clouds next.

You know that rendering a transparent object twice alter its transparency.
Of course, you can avoid to render it in the color buffer using write mask
in one pass.

Regards,
-Fred

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to