Jump to content

  • Log In with Google      Sign In   
  • Create Account

Rendering Intersecting Premultiplied Transparent Planes


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1   Members   

564
Like
0Likes
Like

Posted 07 December 2012 - 05:11 AM

I'm trying to render some low poly trees where the "leaves" are simulated by textured quads set at semi-random angles to each other. My problem is that the textured quads create visual effects where their transparency doesn't correctly depth sort - unsuprising given that they intersect often in 3D space to give an illusion of complexity, which probably gives the depth sorting an issue working out which is actually "in front" of each other . Each textured quad represents a "branch" full of leaves (rather than each leaf being a textured quad).

Can anyone give me a hint how to either deal with this problem, or perhaps point me at a resource describing how to do low-poly trees to get a different solution ?

Thanks
Phillip.

#2   Members   

4075
Like
0Likes
Like

Posted 07 December 2012 - 07:17 AM

Have you tried alpha testing and alpha to coverage?

Niko Suni


#3   Members   

564
Like
0Likes
Like

Posted 07 December 2012 - 09:28 AM

Nik02

Thanks for the reply - thats exactly the hint I needed.

Phillip

#4   Members   

4073
Like
0Likes
Like

Posted 07 December 2012 - 10:05 AM

Depth peeling is another technique intended to solve this problem. Although I'd recommend you stick with Nik02's suggestions unless you're prepared to invest a lot of extra effort and processing power at the problem to achieve slightly more correct results.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.