Hi,
I trying to set alpha and colors components into a shader, but I always get strange results.
I tryed many transparency mode as :
-
TransparencyAttrib.MAlpha :
I get this strange “circle effect” you can see above in sphere. -
TransparencyAttrib.MDual :
Works only with a one fixed uniform color, the “circle effect” only appear with a non uniform color… ??? -
TransparencyAttrib.MMultisample :
Doesn’t work… alpha is always equal to 0. Maybe the solution is on that mode, if only I could get it work.
I first tryed on the sphere.egg model. Also on a procedural created one. On a cube model… With the same kind of results.
I don’t know what to try now…
Vash