Alpha problems

sykirm

02-11-2006 22:29:26

Hello guys,

I've got some problems with creating transparency. I've this nice house:



The roof's edges are transparent - using a psd with alpha, src blend: source alpha, dst blend: inv src alpha -, but through the transparent plane I can see only the blue sky, instead of the top of my walls. Also, meshes without texture are visible through the plane, but nothing else. What to do?

(I know, one solution is to turn off Depth write, but if I do this, joists behind will be also visible through the whole roof..)

Btw, when will be oFusion's documentation updated, or where can I find some info about this new material-editor stuffs? - 'New', I mean the 28/7/2006 release :)

Lioric

03-11-2006 02:10:18

You have the option to split the transparent object in parts that can be properly sorted by the render (their center is on front of the occluded object)

A better approach is to use the "alpha rejection" with a value of 128 (fine tune it to your needs) instead of alpha blending, this method wont blend the contents with the current scene fragments, it will produce opaque or transparent pixels, but not blended pixels, but it might work on your model correctly as the roof edges dont need variable levels of alpha

About the documentation, i will review and update the link if its not for the latest version

sykirm

03-11-2006 12:26:19

Thanks for answer. I've also tried the alpha-rejection stuff, it seems pretty enough for this roof, but I'm sure I will need blending in the future, and in the previous version it was simple to do.. :roll: