I hate to say it, but i see absolutely no blending in that U2 shot. That''s a pure binary alpha test.
What you might take as blending is actually the background color (the grass) which happens to be in the same shade of greens than the leaf texture. But there''s absolutely no blending.
Y.
OpenGL Alpha Test Leaves Sharp Edges
You''re looking in the wrong places. The blending is most obvious when what''s behind is *different* color and texel density/orientation from the leaf and where the alpha gradient isn''t too steep.
If you really can''t see it, open sample2.jpg in photoshop or other paint program and look for example at coordinates (535, 620), (160, 600) and (144, 320) with a magnifier. The alpha looks to be around 0.5 at the alphatest edge.
Btw, this is what half-life does with "masked" textures as well (when running in GL). Other games might too.
If you really can''t see it, open sample2.jpg in photoshop or other paint program and look for example at coordinates (535, 620), (160, 600) and (144, 320) with a magnifier. The alpha looks to be around 0.5 at the alphatest edge.
Btw, this is what half-life does with "masked" textures as well (when running in GL). Other games might too.
Sorry Fingers_, I''m going to have to agree with the other guys on this.
...look elsewhere on the leaf, you''ll see the same colour without a beach in the background. There is no alpha-blending in that shot.
-FReY
quote:
You can clearly see the seam between yellow beach and green grass through the leaf on the left.
...look elsewhere on the leaf, you''ll see the same colour without a beach in the background. There is no alpha-blending in that shot.
-FReY
sean, I don''t think it was quite a war... just a disagreement which ended in lots of bloody bodies and me eating humble pie...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement