Blend modes

does anyone know how to write blendmodes? or is there a way of accessing it and changing default add-mode?

or maybe just a link where to find a solution?

danx a lot!


connect a Blend (EX9.Renderstate) to the shader …

not quite…

with two textures on the shader, these two are still blended in add mode.


if you use two textures in the same shader code its not so easy, you have to choose a blend mode for the shader and then code the right color operations in the shader …