Original Post
🔒 Locked
Object Transparancy
Advertisement
For alpha blending, use SRC = SRCALPHA and DEST = INVSRCALPHA
For the object to fade, you can change the Alpha component of your material color, or change the vertex color''s Alpha component (if you are using vertex coloring instead of d3d lighting). You can also use Texture factor renderstate and a combination of
D3DTA_TEXTURE and D3DTA_TFACTOR for texture modulation and make Tfactor a color with some alpha < 255.
GraphicsWare|RenderTech
-----------------------
http://www.graphicsware.com
3D Graphics & Solutions
For the object to fade, you can change the Alpha component of your material color, or change the vertex color''s Alpha component (if you are using vertex coloring instead of d3d lighting). You can also use Texture factor renderstate and a combination of
D3DTA_TEXTURE and D3DTA_TFACTOR for texture modulation and make Tfactor a color with some alpha < 255.
GraphicsWare|RenderTech
-----------------------
http://www.graphicsware.com
3D Graphics & Solutions
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement