Es/$bumpmap: Difference between revisions
< Es
Jump to navigation
Jump to search
m (-Using L template for links) |
m (Multipage removal) |
||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{this is a|shader parameter|notext=1|name=$bumpmap}} | |||
[[File:Brickwall021a normalcompare.jpg|thumb|Un {{L|albedo}} (izq.) comparado con un relieve.]] | [[File:Brickwall021a normalcompare.jpg|thumb|Un {{L|albedo}} (izq.) comparado con un relieve.]] | ||
[[File:Example of bump mapping.jpg|thumb|El material de arriba en el juego.]] | [[File:Example of bump mapping.jpg|thumb|El material de arriba en el juego.]] |
Revision as of 03:06, 12 July 2024
$bumpmap
es un parámetro de un shader disponible en todos los juegos de Source.

Un albedo (izq.) comparado con un relieve.
Especifica una textura que tendrá iluminación tridimensional e información para un material. La textura es un relieve , pero el proceso es un mapeado normal. Aunque ambos términos se utilizan indistintivamente.

$bumpmap
desactivará la iluminación por vértice de prop_static en los juegos Source previos a 
No hay mucha información en los vértices de un mapeado normal, por lo que el motor no tiene opción de retroceder.

$bumpmap
no existe para LightmappedReflective. En su lugar se debe usar $normalmap
.
- En el sombreado
Water
,$bumpmap
es para DX8 du/dv map . Se usa$normalmap
en su lugar. - Los relieves no se pueden usar sobre texturas adhesivas, excepto en
CS:GO rama de motor.
- On VertexLitGeneric using $lightwarptexture will force bumpmapping even if
$bumpmap
is not in the VMT. A default one is bound instead, all$bumpmap
caveats come with it.

$bumpmap
causes some other Parameters to not work. Parameters that will break with $bumpmap
are ( but not limited to ) :
- Will not work with materials using $envmapmask. Except on VertexLitGeneric(only in
) and LightmappedGeneric(only in
). See Alternative methods.
- In
LightmappedGeneric, $detailblendmode 9 cannot be used.
- In
VertexLitGeneric, $detailblendmode 5, 6, 8, 9, 10 and 11 not usable. With $phong 5 and 6 can be used.
- In
VertexLitGeneric, $detailblendmode 5-11 not usable. With $phong 5 and 6 can be used.
- In
$detailtint won't work.
- $distancealpha, $outline, $softedges won't work.
- On LightmappedGeneric, cannot be used with $basealphaenvmapmask
Sintaxis básica
LightmappedGeneric
{
$basetexture brick/brickwall021a
$surfaceprop brick
$bumpmap brick/brickwall021a_normal
}
Parámetros adicionales
$bumptransform
$bumpframe
$nodiffusebumplighting
$ssbump
$forcebump
$bump_force_on
$addbumpmaps
$bumpmap2
$bumpframe2
$bumptransform2
$bumpmask
$bumpdetailscale1
Comandos de consola
- mat_fastnobump <boolean >
- Quickly enables/disabled normal mapping.
- mat_normalmaps <boolean >
- Displays the bump map texture of all materials that have one in place of their albedo .
- (¡Sí, los nombres de estos comandos están erróneos!)
- mat_bumpmap <boolean >
- Enable or disable normal mapping. Default 1.