Sign in to follow this  

Alpha Test with Water and Trees

Recommended Posts

Hello again!

Now my problem is rendering trees.


I tryed this:


And It was nice, but water must be the last thing to draw...

I dont't know what to do... I am completely stuck in this problem.

Share this post

Link to post
Share on other sites
you need a deep list so you draw your objects from back to front, including the water.

water is normally last due to transparency, but since you have trees that have an alpha in them, then I will just consider trees and water all together, and draw water before trees if you are over ground, and trees before water if you are below water. Edited by winsrp

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this