{"id":488,"date":"2025-10-24T19:14:46","date_gmt":"2025-10-24T19:14:46","guid":{"rendered":"https:\/\/salvador.mata.com.mx\/blog\/?p=488"},"modified":"2026-03-18T21:15:04","modified_gmt":"2026-03-18T21:15:04","slug":"niebla-filtros2d-materiales","status":"publish","type":"post","link":"https:\/\/salvador.mata.com.mx\/blog\/2025\/10\/24\/niebla-filtros2d-materiales\/","title":{"rendered":"\ud83c\udf2b\ufe0f \u00bfC\u00f3mo manejar niebla, filtros 2D y materiales en el BGE?"},"content":{"rendered":"<h1>\ud83c\udf2b\ufe0f C\u00f3mo manejar niebla, filtros 2D y materiales en el BGE<\/h1>\n<p>Algunas personas me han preguntado acerca de la t\u00e9cnica que utilic\u00e9 en este video, as\u00ed que decid\u00ed hacer un peque\u00f1o tutorial donde muestro de forma pr\u00e1ctica c\u00f3mo manejo el <strong>efecto de niebla<\/strong>, los <strong>filtros 2D<\/strong> y los <strong>ajustes de materiales<\/strong> en el <strong>Blender Game Engine (BGE)<\/strong> \ud83c\udfae<\/p>\n<p>Para este ejemplo utilic\u00e9 un nivel simple con <strong>objetos primitivos<\/strong>. No me enfoqu\u00e9 en el correcto acomodo de los mapas UV, ya que la idea principal era <strong>mostrar c\u00f3mo ajusto los materiales, la niebla y las luces<\/strong>, m\u00e1s que lograr una escena final optimizada.<\/p>\n<hr \/>\n<h2>\ud83e\uddf1 Algunas cuestiones a considerar<\/h2>\n<h3>\ud83e\udde9 \u00bfPor qu\u00e9 no utilic\u00e9 \u201cLight Map UV Pack\u201d?<\/h3>\n<p>Esto se debe a que el generador de UVs de ese tipo <strong>trata los pol\u00edgonos no cuadrados como si fueran cuadrados<\/strong>, lo cual produce <strong>distorsi\u00f3n en la textura<\/strong>. Aunque sea un mapa de luz, <strong>no me gusta c\u00f3mo se ve el resultado<\/strong>, as\u00ed que prefiero hacerlo de forma manual.<\/p>\n<hr \/>\n<h3>\ud83d\udcd0 \u00bfPor qu\u00e9 dej\u00e9 espacios sin usar en el mapa UV?<\/h3>\n<p>Este es un <strong>ejemplo pr\u00e1ctico<\/strong>, no un proyecto final. Por eso no optimic\u00e9 el aprovechamiento del espacio en la imagen. \ud83d\udc49 En tus proyectos reales, <strong>s\u00ed debes usar correctamente toda el \u00e1rea del mapa UV<\/strong> para obtener mejores resultados visuales y de rendimiento.<\/p>\n<hr \/>\n<h3>\ud83c\udfa8 \u00bfD\u00f3nde conseguir los filtros 2D?<\/h3>\n<p>Puedes encontrarlos en el foro <strong>BlenderArtists.org<\/strong> \ud83d\udcac<\/p>\n<p><span style=\"color: #99cc00;\">Personalmente, suelo utilizar dos filtros que dan excelentes resultados:<\/span><\/p>\n<ul>\n<li><span style=\"color: #339966;\">\u2728 <strong>Retinex<\/strong> \u2192 mejora la iluminaci\u00f3n general y el contraste<\/span><\/li>\n<li><span style=\"color: #339966;\">\ud83d\udca5 <strong>Bloom<\/strong> \u2192 genera un efecto de brillo suave en las zonas iluminadas<\/span><\/li>\n<\/ul>\n<p>Ambos pueden combinarse para lograr una atm\u00f3sfera m\u00e1s cinematogr\u00e1fica. Si estas usando <a href=\"https:\/\/rangeengine.tech\/\" target=\"_blank\" rel=\"noopener\">RanGE<\/a> estos filtros ya se encuentran incluidos por defecto dentro del motor de juegos, tanto de forma interna como por medio de scripts.<\/p>\n<hr \/>\n<h3>\ud83c\udf2b\ufe0f Diferencias entre los paneles de niebla<\/h3>\n<p>Ten en cuenta que los <strong>ajustes de niebla<\/strong> no son los mismos en el <strong>panel de Render<\/strong> y en el <strong>panel del BGE<\/strong>. Por eso los resultados pueden variar ligeramente \u2014en especial porque el BGE <strong>no cuenta con controles de exposici\u00f3n<\/strong>. Mi recomendaci\u00f3n: experimenta con la distancia, densidad y color hasta lograr la atm\u00f3sfera que buscas \ud83c\udf9b\ufe0f<\/p>\n<hr \/>\n<h3>\ud83d\udca1 \u00bfPor qu\u00e9 us\u00e9 dos luces en la escena?<\/h3>\n<p><span style=\"color: #99cc00;\">Utilic\u00e9 <strong>dos fuentes de luz<\/strong> para lograr un resultado m\u00e1s natural:<\/span><\/p>\n<ol>\n<li><span style=\"color: #339966;\">\u2600\ufe0f <strong>Luz principal (Sun)<\/strong> \u2192 representa la fuente principal de iluminaci\u00f3n.<\/span><\/li>\n<li><span style=\"color: #339966;\">\ud83c\udf15 <strong>Luz secundaria (rebote)<\/strong> \u2192 simula la luz reflejada del entorno.<\/span><\/li>\n<\/ol>\n<p>Incluso puedes probar con una <strong>tercera luz tenue<\/strong> para a\u00f1adir m\u00e1s profundidad. \u00a1Experimenta y observa c\u00f3mo cambia el ambiente! \ud83d\udd26<\/p>\n<hr \/>\n<h2>\ud83c\udfa5 Video del tutorial<\/h2>\n<p>\ud83d\udc49 <strong>Video aqu\u00ed:<\/strong><\/p>\n<p style=\"text-align: center;\"><code>\n<div class=\"wp-block-presto-player-reusable-edit\"><!--presto-player:video_id=20--><figure class=\"wp-block-video presto-block-video  presto-provider-youtube\" style=\"--plyr-color-main: var(--presto-player-highlight-color, #18b103); --presto-player-logo-width: 150px; \">\n\t<presto-player \n\t\tpreset='{&quot;id&quot;:1,&quot;name&quot;:&quot;Default&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;icon&quot;:&quot;format-video&quot;,&quot;skin&quot;:&quot;modern&quot;,&quot;play-large&quot;:true,&quot;rewind&quot;:true,&quot;play&quot;:true,&quot;fast-forward&quot;:true,&quot;progress&quot;:true,&quot;current-time&quot;:true,&quot;mute&quot;:true,&quot;volume&quot;:true,&quot;speed&quot;:false,&quot;pip&quot;:false,&quot;fullscreen&quot;:true,&quot;captions&quot;:false,&quot;reset_on_end&quot;:true,&quot;auto_hide&quot;:true,&quot;show_time_elapsed&quot;:false,&quot;captions_enabled&quot;:false,&quot;save_player_position&quot;:true,&quot;sticky_scroll&quot;:false,&quot;sticky_scroll_position&quot;:&quot;bottom right&quot;,&quot;on_video_end&quot;:&quot;select&quot;,&quot;play_video_viewport&quot;:false,&quot;hide_youtube&quot;:false,&quot;lazy_load_youtube&quot;:false,&quot;hide_logo&quot;:false,&quot;border_radius&quot;:0,&quot;caption_style&quot;:&quot;&quot;,&quot;caption_background&quot;:&quot;&quot;,&quot;is_locked&quot;:true,&quot;cta&quot;:[&quot;&quot;],&quot;watermark&quot;:[&quot;&quot;],&quot;search&quot;:[&quot;&quot;],&quot;email_collection&quot;:[&quot;&quot;],&quot;action_bar&quot;:[&quot;&quot;],&quot;created_by&quot;:1,&quot;created_at&quot;:&quot;2025-10-24 15:24:09&quot;,&quot;updated_at&quot;:&quot;2025-10-24 15:24:09&quot;,&quot;deleted_at&quot;:&quot;&quot;}'\n\t\tbranding='{&quot;logo&quot;:&quot;&quot;,&quot;logo_width&quot;:150,&quot;color&quot;:&quot;#18b103&quot;,&quot;player_css&quot;:&quot;&quot;}'\n\t\tchapters='[]'\n\t\toverlays='[]'\n\t\ttracks='[]'\n\t\tblock-attributes='{&quot;playsInline&quot;:true,&quot;id&quot;:20,&quot;src&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=br0_PK6XDik&quot;,&quot;preset&quot;:1,&quot;video_id&quot;:&quot;br0_PK6XDik&quot;,&quot;visibility&quot;:&quot;public&quot;,&quot;color&quot;:&quot;#00b3ff&quot;,&quot;mutedPreview&quot;:{&quot;enabled&quot;:false,&quot;captions&quot;:false},&quot;mutedOverlay&quot;:{&quot;enabled&quot;:false,&quot;src&quot;:&quot;&quot;,&quot;width&quot;:200,&quot;focalPoint&quot;:{&quot;x&quot;:0.5,&quot;y&quot;:0.5}},&quot;mutedOverlayType&quot;:&quot;text&quot;,&quot;mutedOverlayText&quot;:&quot;Click to play&quot;,&quot;mutedOverlayImageWidth&quot;:200,&quot;chapters&quot;:[],&quot;overlays&quot;:[],&quot;tracks&quot;:[],&quot;title&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=br0_PK6XDik&quot;}'\n\t\tanalytics=''\n\t\tautomations\t\tprovider='youtube'\n\t\t\t\tid=\"presto-player-1\"\n\t\tsrc=\"\/\/www.youtube.com\/embed\/br0_PK6XDik?iv_load_policy=3&amp;modestbranding=1&amp;playinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1\"\n\t\tmedia-title=\"https:\/\/www.youtube.com\/watch?v=br0_PK6XDik\"\n\t\tcss=\"\"\n\t\tclass=\"presto-video-id-20 presto-preset-id-1 skin-modern\"\n\t\tskin=\"modern\" \n\t\ticon-url=\"https:\/\/salvador.mata.com.mx\/blog\/wp-content\/plugins\/presto-player\/img\/sprite.svg\" \n\t\tpreload=\"\" \n\t\tposter=\"\"\n\t\tyoutube=\"{&quot;noCookie&quot;:false,&quot;channelId&quot;:&quot;&quot;,&quot;show_count&quot;:false}\"\n\t\tprovider-video-id=\"br0_PK6XDik\"\n\t\tvideo-id=\"20\"\n\t\t\t\tvideo-attributes='{}'\n\t\tplaysinline\t\t\t\t>\n\t\t\n    <div class=\"presto-iframe-fallback-container\">\n        <iframe style=\"width: 100%\" title=\"Youtube Video\" class=\"presto-fallback-iframe\" id=\"presto-iframe-fallback-1\" data-src=\"https:\/\/www.youtube.com\/embed\/br0_PK6XDik?iv_load_policy=3&amp;modestbranding=1&amp;playsinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1\" allowfullscreen allowtransparency allow=\"autoplay\"><\/iframe>\n    <\/div>\n\n\t<\/presto-player>\n<\/figure><\/div>\n<\/code><\/p>\n<hr \/>\n<h2>\ud83d\udcc1 Descarga<\/h2>\n<p>Puedes <strong>descargar el archivo del ejemplo <span style=\"color: #008000;\">aqu\u00ed<\/span>.<\/strong><\/p>\n<p style=\"text-align: center;\"><span class=\"shared-files-shortcode-admin-list shared-files-shortcode-admin-list-file shared-files-shortcode-1061\" title=\"&lt;div class=&quot;shared-files-embed-6a206ad396de6 shared-files-main-container&quot; data-elem-class=&quot;shared-files-embed-6a206ad396de6&quot; data-search-type=&quot;0&quot; data-post-id=&quot;488&quot;&gt;&lt;div class=&quot;shared-files-search&quot;&gt;&lt;ul class=&quot;shared-files-main-file-list&quot;&gt;&lt;li class=&quot;shared-files-card-1061&quot;&gt;&lt;div class=&quot;shared-files-main-elements&quot;&gt;&lt;div class=&quot;shared-files-main-elements-left&quot; style=&quot;background-image: url(https:\/\/salvador.mata.com.mx\/blog\/wp-content\/plugins\/shared-files\/img\/2020\/zip.svg);&quot;&gt;&lt;\/div&gt;&lt;div class=&quot;shared-files-main-elements-right&quot;&gt;&lt;a class=&quot;shared-files-file-title&quot;  data-file-type=&quot;&quot;  data-file-url=&quot;\/blog\/uploads\/shared-files\/1061\/?lights_mist.zip&quot;  data-external-url=&quot;&quot;  data-image-url=&quot;&quot; href=&quot;\/blog\/uploads\/shared-files\/1061\/?lights_mist.zip&quot; target=&quot;_blank&quot;&gt;Light Mist &#8211; Sample file&lt;\/a&gt;&lt;span class=&quot;shared-file-size&quot;&gt;2.23 MB&lt;\/span&gt;&lt;span class=&quot;shared-file-date&quot;&gt;March 18, 2026&lt;\/span&gt;&lt;div class=&quot;shared-files-download-counter&quot;&gt;&lt;span&gt;Downloads: 74&lt;\/span&gt;&lt;\/div&gt;&lt;div class=&quot;shared-files-download-button-container&quot;&gt;&lt;a href=&quot;\/blog\/uploads\/shared-files\/1061\/?lights_mist.zip&amp;download=1&quot; class=&quot;shared-files-download-button&quot;  download&gt;Download&lt;\/a&gt;&lt;\/div&gt;&lt;div class=&quot;shared-files-edit-actions&quot;&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/div&gt;&lt;\/li&gt;&lt;\/ul&gt;&lt;\/div&gt;&lt;\/div&gt;\"><div class=\"shared-files-embed-6a206ad39b543 shared-files-main-container\" data-elem-class=\"shared-files-embed-6a206ad39b543\" data-search-type=\"0\" data-post-id=\"1061\"><div class=\"shared-files-search\"><ul class=\"shared-files-main-file-list\"><li class=\"shared-files-card-1061\"><div class=\"shared-files-main-elements\"><div class=\"shared-files-main-elements-left\" style=\"background-image: url(https:\/\/salvador.mata.com.mx\/blog\/wp-content\/plugins\/shared-files\/img\/2020\/zip.svg);\"><\/div><div class=\"shared-files-main-elements-right\"><a class=\"shared-files-file-title\"  data-file-type=\"\"  data-file-url=\"\/blog\/uploads\/shared-files\/1061\/?lights_mist.zip\"  data-external-url=\"\"  data-image-url=\"\" href=\"\/blog\/uploads\/shared-files\/1061\/?lights_mist.zip\" target=\"_blank\">Light Mist &#8211; Sample file<\/a><span class=\"shared-file-size\">2.23 MB<\/span><span class=\"shared-file-date\">March 18, 2026<\/span><div class=\"shared-files-download-counter\"><span>Downloads: 74<\/span><\/div><div class=\"shared-files-download-button-container\"><a href=\"\/blog\/uploads\/shared-files\/1061\/?lights_mist.zip&download=1\" class=\"shared-files-download-button\"  download>Download<\/a><\/div><div class=\"shared-files-edit-actions\"><\/div><\/div><\/div><\/li><\/ul><\/div><\/div><\/span><\/p>\n<hr \/>\n<h2>\ud83d\udcac Conclusi\u00f3n<\/h2>\n<p>Espero que este video y explicaci\u00f3n te sean \u00fatiles \ud83d\ude4c<br \/>\nSi tienes alguna duda o algo no te funciona como esperas, <strong>d\u00e9jala en los comentarios<\/strong> y con gusto vemos c\u00f3mo solucionarlo juntos \ud83d\udcaa<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83c\udf2b\ufe0f C\u00f3mo manejar niebla, filtros 2D y materiales en el BGE Algunas personas me han preguntado acerca de la t\u00e9cnica que utilic\u00e9 en este video, as\u00ed que decid\u00ed hacer un peque\u00f1o tutorial donde muestro de forma pr\u00e1ctica c\u00f3mo manejo el efecto de niebla, los filtros 2D y los ajustes de materiales en el Blender Game [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":493,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[136],"tags":[137,85,82,138,84],"class_list":["post-488","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-animacion","tag-bge","tag-blender","tag-materiales","tag-range"],"jetpack_featured_media_url":"https:\/\/salvador.mata.com.mx\/blog\/wp-content\/uploads\/2025\/10\/b7b5f-2019-11-26_10-12-01.gif","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/posts\/488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/comments?post=488"}],"version-history":[{"count":6,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/posts\/488\/revisions"}],"predecessor-version":[{"id":1063,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/posts\/488\/revisions\/1063"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/media\/493"}],"wp:attachment":[{"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/media?parent=488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/categories?post=488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/tags?post=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}