TEXTURE.CFG
上传用户:ghyvgy
上传日期:2009-05-26
资源大小:547k
文件大小:1k
源码类别:

其他游戏

开发平台:

Python

  1. # [TextureName]                   // The texture name is used as the INI section
  2. # File=FileName                   // Either a file can be specified to load the texture
  3. # Effect=Glow(size,exposure)      // Or an effect can be specified to calculate it
  4. # Alpha=255                       // The alpha component can be set explicitly for the texture
  5. # AlphaMapx=R,G,B,A               // Or specific alpha values can be set for any RGB color
  6. # AlphaFunc=Expose((R+G+B)/3,5)   // Or an alpha func can be specified using a logical expression
  7. [Font]
  8. File=Font.jpg
  9. AlphaMap1=0,0,0,0
  10. [Test]
  11. File=Test.jpg
  12. AlphaFunc=Smoothstep(0,1,(R+G+B)/3)