$phong
< Es
Jump to navigation
Jump to search
También está disponible en sombreado
LightmappedGeneric
y
WorldVertexTransition
en todos los juegos desde Counter-Strike: Global Offensive. proporcionando reflexión difusa a baja intensidad y resaltado especular, enmascarados con una textura que controla su intensidad mediante téxeles. Para una explicación completa, véase materiales phong.

LightmappedGeneric
y WorldVertexTransition
solo está disponible en 

.

LightmappedGeneric
is also available in 


"$halflambert_gbuffer_off" "1"
.Sintaxis
$phong <bool>


- Pendiente: Otros juegos que no necesitan parámetros phong (como Portal 2 en adelante)
VertexLitGeneric
{
$phong 1
$bumpmap [texture]
$phongexponent 5 // either/or
$phongexponenttexture [texture] // either/or
$phongboost 1.0
$phongfresnelranges "[0 0.5 1]"
}
Parámetros
Enmascarado

- Using $selfillumfresnel without $normalmapalphaenvmapmask will mask the $envmap using the $basetexture's alpha channel.
- Using $selfillumfresnel with $normalmapalphaenvmapmask will multiply the $envmap by
0.0f
. Effectively disabling the effect! - When not using $selfillumfresnel. The mask used for $envmap will be the $basetexture's alpha channel unless $normalmapalphaenvmapmask is also used.
- If $normalmapalphaenvmapmask is used, the $bumpmap's alpha channel will be used for Phong masking. Using either
$basemapalphaphongmask
or$basemapluminancephongmask
will override it.
$bumpmap
$basemapalphaphongmask
$basemapluminancephongmask
$phongexponent
$phongexponenttexture
$phongexponentfactor
$invertphongmask
$forcephong
$diffuseexp
$shinyblood
$shinybloodexponent
Brillo
$phongboost
$phongfresnelranges
$phongdisablehalflambert
Colores
$phongalbedotint
$phongalbedoboost

Brush phong in
Counter-Strike: Global Offensive using tile/hr_t/inferno/tile_a. Note the complete absence of the reflection in the shaded area.

Parámetros de sombreado de sólidos (only in
)(también en
)
$phongmaskcontrastbrightness
$phongamount
$phongbasetint
Comandos de consola
- mat_phong <boolean >
- Desactiva o activa el sombreado phong. Por defecto 1.
Véase también
- Materiales phong
- $envmap (mapa del entorno)
- $lightwarptexture
- $rimlight
Enlaces externos
- $Phong en sólidos*: The Hacky Way: Una guía de TF2maps.net sobre cómo aplicar falsos $Phong en sólidos para juegos previos a CS:GO. También se puede usar para hacer phong falsos en objetos del mapa iluminados por vértice, sin reducir su calidad.
- SubstancePainter Sombreado phong complejo en motor Source