Original Post
Greetings, DirectX has me a bit confused. I want to do alpha blending on an object that has a D3DMATERIAL9 struct applied and may or may not have a texture applied as well. The blending should be controlled by a number n=0…1 or n=0…100. The picture below (rendered with MAX) shows a sphere with different opacity levels applied to it:
I have attempted to control the alpha blending in this way but have yet to find a solution using various rendering states and blending operations as well as modifying diffuse and alpha colors. The blending must be transitionally smooth from opaque to completely transparent. This seems like it should be simple to do...yet? I’d really appreciate some help solving this problem. Thanks, Neil
I have attempted to control the alpha blending in this way but have yet to find a solution using various rendering states and blending operations as well as modifying diffuse and alpha colors. The blending must be transitionally smooth from opaque to completely transparent. This seems like it should be simple to do...yet? I’d really appreciate some help solving this problem. Thanks, Neil