VertexLitGeneric

It is not recommended to use machine translation without any corrections.
If the article is not corrected in the long term, it will be removed.
Also, please make sure the article complies with the alternate languages guide.

It is not recommended to use machine translation without any corrections.
If the article is not corrected in the long term, it will be removed.
Also, please make sure the article complies with the alternate languages guide.
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.
VertexLitGeneric
是一个顶点着色器 ,可在所有的 起源 游戏中使用。 这是渲染模型 最常用的着色器,支持多种特效效果。请勿用于世界几何体,否则可能引发光照错误。
支持参数
基础参数
$basetexture
$detail
$decaltexture
调整参数
$color2
$basetexturetransform
$allowdiffusemodulation
$seperatedetailuvs
$desaturatewithbasealpha
$notint
透明参数
VertexLitGeneric支持多种透明处理方式:
$alpha
$alphatest
$nocull
$translucent
$additive
$distancealpha
光照参数
$bumpmap
$lightwarptexture
$halflambert
$selfillum
$emissiveblendenabled
$lightmap
反射参数
特效参数
$compress
$stretch
$flesh
$treeSway
技术调整
$flashlightnolambert
$lowqualityflashlightshadows
$allowfencerenderstatehack
$disablecsmlookup
$noshadowpass
$nodeferredlight
$modelglobalnormal
隐身效果
VertexLitGeneric
原生支持 Team Fortress 2 中间谍隐身特效。结合正弦波材质代理 可实现完整效果。
$cloakpassenabled
$cloakfactor
$cloakcolortint
$refractamount
注意事项
Mapbase扩展
Mapbase 中的VertexLitGeneric材质应使用SDK_VertexLitGeneric
着色器。
相关链接
- 模型材质指南
- EyeRefract(眼球折射着色器)
- Teeth(牙齿着色器)