文件名称:Alpha_blen19480311132005
- 所属分类:
- 驱动编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 83kb
- 下载次数:
- 0次
- 提 供 者:
- atul*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Creating transparent objects in DirectX is really faily simple. All you have to do is to play with the followring renderstates: device.RenderState.SourceBlend = Blend.SourceAlpha device.RenderState.DestinationBlend = Blend.InvSourceAlpha device.RenderState.AlphaBlendEnable = true When these are set all you have to do is to create a regular material with the diffuse alpha channel set to < 255. -Creating transparent objects in DirectX is really faily simple. All you have to do is to play with the followring renderstates: device.RenderState.SourceBlend = Blend.SourceAlpha device.RenderState.DestinationBlend = Blend.InvSourceAlpha device.RenderState.AlphaBlendEnable = true When these are set all you have to do is to create a regular material with the diffuse alpha channel set to < 255.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
@PSC_ReadMe_4211_10.txt
AlphaTest
.........\App.ico
.........\AssemblyInfo.cs
.........\bin
.........\...\Debug
.........\...\.....\Test.pdb
.........\...\.....\Thumbs.db
.........\...\Release
.........\Camera.cs
.........\Form1.cs
.........\Form1.resx
.........\FramerateCounter.cs
.........\obj
.........\...\Debug
.........\...\.....\Game.resources
.........\...\.....\temp
.........\...\.....\TempPE
.........\...\.....\Test.pdb
.........\...\.....\Test.projdata
.........\...\Release
.........\...\.......\temp
.........\...\.......\TempPE
.........\...\.......\Test.projdata
.........\Test.csproj
.........\Test.csproj.user
.........\Test.sln
.........\Test.suo
AlphaTest
.........\App.ico
.........\AssemblyInfo.cs
.........\bin
.........\...\Debug
.........\...\.....\Test.pdb
.........\...\.....\Thumbs.db
.........\...\Release
.........\Camera.cs
.........\Form1.cs
.........\Form1.resx
.........\FramerateCounter.cs
.........\obj
.........\...\Debug
.........\...\.....\Game.resources
.........\...\.....\temp
.........\...\.....\TempPE
.........\...\.....\Test.pdb
.........\...\.....\Test.projdata
.........\...\Release
.........\...\.......\temp
.........\...\.......\TempPE
.........\...\.......\Test.projdata
.........\Test.csproj
.........\Test.csproj.user
.........\Test.sln
.........\Test.suo