Billboarding
Hi everybody!
I got a smooth landscape with water and sky, and now I would like to use billboarding to build trees. The texture has different alpha values and now I would like to know if there is an easy way to correctly render those trees. I can''t, of course, use the normal depth buffer...or can I?
Thx
Drag0n
P. S.: I''m from Germany...
if you''re going to use blending :
enable blending
draw objects form far to near
if you''re going to use alpha testing :
enable alpha testing
set alpha test function
draw trees in any order
You should never let your fears become the boundaries of your dreams.
enable blending
draw objects form far to near
if you''re going to use alpha testing :
enable alpha testing
set alpha test function
draw trees in any order
You should never let your fears become the boundaries of your dreams.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement