Original Post
hi everybody I'm going to render a tree (using billboards), and also its shadow on a plane using a pre-rendered shadow map which is textured on a png file. I open photoshop, and make the shadow texture file transparent, but I can't see the plane under the shadow, I mean it is not transparent, what should I do? how should I use alpha testing and alpha blending? Currently I'm using alpha testing, and my reference value is 0x08, with GREATEREQUAL comparison, areas surrounding the shadow are visible, but the areas covered by the shadow are fully black (i.e. I can't see the ground under the shadow), what should I do now? should I change my codes (alpha blending?) or should I change my file format? please help me, thanks