La información en este artículo es para Source. Haga clic aquí para más información.

Es/$bumpmap: Difference between revisions

From Valve Developer Community
< Es
Jump to navigation Jump to search
m (-Using L template for links)
m (Multipage removal)
Line 1: Line 1:
{{langsp}}
{{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

English (en)Español (es)Français (fr)中文 (zh)Translate (Translate)

$bumpmap es un parámetro de un shader(en) disponible en todos los juegos de Source Source.

Un albedo(en) (izq.) comparado con un relieve.
El material de arriba en el juego.

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

Warning.pngAviso:$bumpmap desactivará la iluminación por vértice de prop_static en los juegos Source previos a CS:GO rama de motor CS:GO rama de motor.
No hay mucha información en los vértices de un mapeado normal, por lo que el motor no tiene opción de retroceder.
Icon-Important.pngImportante:$bumpmap no existe para LightmappedReflective(en). En su lugar se debe usar $normalmap.
Note.pngNota:
  • En el sombreado Water(en), $bumpmap es para DX8 du/dv map(en). Se usa $normalmap en su lugar.
  • Los relieves no se pueden usar sobre texturas adhesivas, excepto en CS:GO rama de motor 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.
Icon-Bug.pngError: $bumpmap causes some other Parameters to not work. Parameters that will break with $bumpmap are ( but not limited to ) :   [todo tested in ?]

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(en)>
Quickly enables/disabled normal mapping.
mat_normalmaps <boolean(en)>
Displays the bump map texture of all materials that have one in place of their albedo(en).
(¡Sí, los nombres de estos comandos están erróneos!)
mat_bumpmap <boolean(en)>
Enable or disable normal mapping. Default 1.

Véase también