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 (Multipage removal)
mNo edit summary
Line 57: Line 57:


==Comandos de consola==
==Comandos de consola==
{{IO|mat_fastnobump|param=bool|Quickly enables/disabled normal mapping.}}
{{varcom|start}}
{{IO|mat_normalmaps|param=bool|Displays the bump map texture of all materials that have one in place of their {{L|albedo}}.}}
{{varcom|mat_fastnobump||bool|Quickly enables/disabled normal mapping.}}
{{varcom|mat_normalmaps||bool|Displays the bump map texture of all materials that have one in place of their {{L|albedo}}.}}
:(¡Sí, los nombres de estos comandos están erróneos!)
:(¡Sí, los nombres de estos comandos están erróneos!)
{{IO|mat_bumpmap|param=bool|Enable or disable normal mapping. Default 1.}}
{{varcom|mat_bumpmap|1|bool|Enable or disable normal mapping.}}
{{varcom|end}}


==Véase también==
==Véase también==
* {{ent|$ssbump}}
* {{ent|$ssbump}}
* {{L|Bump map|Relieve}}, utilizado para técnicas de detallado.
* {{L|Bump map|Relieve}}, utilizado para técnicas de detallado.

Revision as of 10:47, 19 March 2025

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

(¡Sí, los nombres de estos comandos están erróneos!)
Cvar/Command Parameters or default value Descriptor Effect
mat_fastnobump bool Quickly enables/disabled normal mapping.
mat_normalmaps bool Displays the bump map texture of all materials that have one in place of their albedo(en).
mat_bumpmap 1 bool Enable or disable normal mapping.

Véase también