Hi
I am trying to find out, how to do custom alpha blending in Direct3D. Reading the google results, this seems to be impossible. But I can’t believe that, since it is very well possible in OpenGL.
I want to render a shape with a certain texture (with alpha channel) and apply an additional alpha value on it. So the texture should be drawn just as usual but with x% additional transparency.
The only way, I found, was to manipulate the vertices’ color value. But this depends on locking and unlocking the vertex buffer. And since I need to do this every single frame, I want to avoid this.
Is there a way to simply set a general color value with alpha channel to render the shapes with in D3D?
Marvin