{"id":776,"date":"2026-01-23T09:00:26","date_gmt":"2026-01-23T09:00:26","guid":{"rendered":"https:\/\/salvador.mata.com.mx\/blog\/?p=776"},"modified":"2026-03-18T19:25:38","modified_gmt":"2026-03-18T19:25:38","slug":"776","status":"publish","type":"post","link":"https:\/\/salvador.mata.com.mx\/blog\/2026\/01\/23\/776\/","title":{"rendered":"Efecto Lens Flare \u2728 &#8211; Range"},"content":{"rendered":"<p data-start=\"175\" data-end=\"248\">\u2728 <span style=\"color: #339966;\"><strong data-start=\"177\" data-end=\"243\">Lens Flare: un peque\u00f1o detalle que cambia por completo el mood<\/strong><\/span> \ud83c\udfae\ud83c\udf05<\/p>\n<p data-start=\"250\" data-end=\"539\">Creo que no me equivoco al decir que a <strong data-start=\"289\" data-end=\"362\">todos los que hemos trabajado como <em data-start=\"326\" data-end=\"337\">3D Artist<\/em> o <em data-start=\"340\" data-end=\"360\">Environment Artist<\/em><\/strong> nos encanta agregar (cuando es necesario) ese tipo de detalles que marcan la diferencia:<br data-start=\"429\" data-end=\"432\" \/><strong data-start=\"432\" data-end=\"453\">buena iluminaci\u00f3n<\/strong>, <strong data-start=\"455\" data-end=\"480\">sombras bien pensadas<\/strong> y <strong data-start=\"483\" data-end=\"504\">efectos lum\u00ednicos<\/strong> que le dan vida a una escena \ud83d\udca1\ud83c\udfa8.<\/p>\n<p data-start=\"541\" data-end=\"616\">Uno de esos efectos que casi siempre roba miradas es el <strong data-start=\"597\" data-end=\"611\">Lens Flare<\/strong> \u2728\ud83d\udcf8.<\/p>\n<hr data-start=\"618\" data-end=\"621\" \/>\n<p data-start=\"623\" data-end=\"652\">\ud83d\udd0d <strong data-start=\"626\" data-end=\"652\">\u00bfQu\u00e9 es el Lens Flare?<\/strong><\/p>\n<p data-start=\"654\" data-end=\"881\">En la <strong data-start=\"660\" data-end=\"673\">vida real<\/strong>, el <em data-start=\"678\" data-end=\"690\">lens flare<\/em> ocurre cuando una <strong data-start=\"709\" data-end=\"734\">fuente de luz intensa<\/strong> (como el sol, un foco o una luz directa) entra en el lente de una c\u00e1mara \ud83d\udcf7\u2600\ufe0f.<br data-start=\"813\" data-end=\"816\" \/>La luz rebota dentro de los elementos \u00f3pticos del lente y genera:<\/p>\n<ul data-start=\"882\" data-end=\"952\">\n<li data-start=\"882\" data-end=\"893\">\n<p data-start=\"884\" data-end=\"893\"><span style=\"color: #339966;\">Destellos<\/span><\/p>\n<\/li>\n<li data-start=\"894\" data-end=\"901\">\n<p data-start=\"896\" data-end=\"901\"><span style=\"color: #339966;\">Halos<\/span><\/p>\n<\/li>\n<li data-start=\"902\" data-end=\"936\">\n<p data-start=\"904\" data-end=\"936\"><span style=\"color: #339966;\">Manchas circulares o poligonales<\/span><\/p>\n<\/li>\n<li data-start=\"937\" data-end=\"952\">\n<p data-start=\"939\" data-end=\"952\"><span style=\"color: #339966;\">L\u00edneas de luz<\/span><\/p>\n<\/li>\n<\/ul>\n<p data-start=\"954\" data-end=\"1036\">Este fen\u00f3meno no es \u201cperfecto\u201d ni limpio\u2026 y justamente por eso <strong data-start=\"1017\" data-end=\"1035\">se siente real<\/strong>.<\/p>\n<p style=\"text-align: center;\" data-start=\"954\" data-end=\"1036\"><img decoding=\"async\" src=\"https:\/\/mataii.wordpress.com\/wp-content\/uploads\/2021\/09\/ec8da-sunflaresbge-upbge.gif\" \/><\/p>\n<hr data-start=\"1038\" data-end=\"1041\" \/>\n<p data-start=\"1043\" data-end=\"1089\">\ud83d\udda5\ufe0f <strong data-start=\"1047\" data-end=\"1089\">Lens Flare en gr\u00e1ficos por computadora<\/strong><\/p>\n<p data-start=\"1091\" data-end=\"1364\">En un <strong data-start=\"1097\" data-end=\"1133\">entorno simulado por computadora<\/strong>, el lens flare es un <strong data-start=\"1155\" data-end=\"1183\">efecto visual artificial<\/strong> que imita ese comportamiento \u00f3ptico del mundo real.<br data-start=\"1235\" data-end=\"1238\" \/>No ocurre f\u00edsicamente dentro de un lente, sino que se <strong data-start=\"1292\" data-end=\"1357\">simula mediante shaders, sprites, billboards o post-procesado<\/strong> \ud83c\udf9b\ufe0f\ud83e\udde9.<\/p>\n<p data-start=\"1366\" data-end=\"1392\"><span style=\"color: #99cc00;\"><strong>Normalmente se compone de:<\/strong><\/span><\/p>\n<ul data-start=\"1393\" data-end=\"1563\">\n<li data-start=\"1393\" data-end=\"1444\">\n<p data-start=\"1395\" data-end=\"1444\"><span style=\"color: #339966;\">Un destello principal alineado a la fuente de luz<\/span><\/p>\n<\/li>\n<li data-start=\"1445\" data-end=\"1506\">\n<p data-start=\"1447\" data-end=\"1506\"><span style=\"color: #339966;\">Reflejos secundarios distribuidos a lo largo de la pantalla<\/span><\/p>\n<\/li>\n<li data-start=\"1507\" data-end=\"1563\">\n<p data-start=\"1509\" data-end=\"1563\"><span style=\"color: #339966;\">Halos suaves que reaccionan al movimiento de la c\u00e1mara<\/span><\/p>\n<\/li>\n<\/ul>\n<p data-start=\"1565\" data-end=\"1659\">Cuando se usa correctamente, el resultado puede ser <strong data-start=\"1617\" data-end=\"1654\">muy convincente y cinematogr\u00e1fico<\/strong> \ud83c\udfac\u2728.<\/p>\n<hr data-start=\"1661\" data-end=\"1664\" \/>\n<p data-start=\"1666\" data-end=\"1715\">\ud83c\udfae <strong data-start=\"1669\" data-end=\"1715\">\u00bfPor qu\u00e9 es tan importante en videojuegos?<\/strong><\/p>\n<p data-start=\"1717\" data-end=\"1809\"><span style=\"color: #99cc00;\">El lens flare, tanto en estilos <strong data-start=\"1749\" data-end=\"1762\">realistas<\/strong> como <strong data-start=\"1768\" data-end=\"1787\">m\u00e1s estilizados<\/strong>, ayuda enormemente a:<\/span><\/p>\n<ul data-start=\"1810\" data-end=\"1957\">\n<li data-start=\"1810\" data-end=\"1843\">\n<p data-start=\"1812\" data-end=\"1843\"><span style=\"color: #339966;\">Reforzar la direcci\u00f3n de la luz<\/span><\/p>\n<\/li>\n<li data-start=\"1844\" data-end=\"1883\">\n<p data-start=\"1846\" data-end=\"1883\"><span style=\"color: #339966;\">Dar sensaci\u00f3n de escala y profundidad<\/span><\/p>\n<\/li>\n<li data-start=\"1884\" data-end=\"1907\">\n<p data-start=\"1886\" data-end=\"1907\"><span style=\"color: #339966;\">Aumentar la inmersi\u00f3n<\/span><\/p>\n<\/li>\n<li data-start=\"1908\" data-end=\"1957\">\n<p data-start=\"1910\" data-end=\"1957\"><span style=\"color: #339966;\">Definir el <strong data-start=\"1921\" data-end=\"1929\">mood<\/strong> o atm\u00f3sfera del juego \ud83c\udf2b\ufe0f\ud83c\udf1e<\/span><\/p>\n<\/li>\n<\/ul>\n<p data-start=\"1959\" data-end=\"2126\">Un amanecer, un sol bajo en el horizonte, una luz artificial intensa o incluso una explosi\u00f3n pueden <strong data-start=\"2059\" data-end=\"2093\">ganar much\u00edsimo impacto visual<\/strong> con un lens flare bien aplicado.<\/p>\n<hr data-start=\"2128\" data-end=\"2131\" \/>\n<p data-start=\"2133\" data-end=\"2150\">\ud83e\udde0 <strong data-start=\"2136\" data-end=\"2150\">Conclusi\u00f3n<\/strong><\/p>\n<p data-start=\"2152\" data-end=\"2380\">Por estas razones, considero que el <strong data-start=\"2188\" data-end=\"2202\">Lens Flare<\/strong> es un recurso importante que vale la pena tener a la mano para <strong data-start=\"2266\" data-end=\"2304\">integrarlo en nuestros desarrollos<\/strong>, ya sea como un efecto sutil o como un elemento visual m\u00e1s protagonista \ud83c\udfaf.<\/p>\n<p data-start=\"2382\" data-end=\"2505\">Como siempre, la clave est\u00e1 en <strong data-start=\"2413\" data-end=\"2437\">no abusar del efecto<\/strong>: bien usado suma much\u00edsimo; mal usado puede romper la inmersi\u00f3n \ud83d\ude05.<\/p>\n<p data-start=\"105\" data-end=\"149\">\ud83c\udfae <strong data-start=\"108\" data-end=\"149\">Ejemplo pr\u00e1ctico en Range Game Engine<\/strong><\/p>\n<p data-start=\"151\" data-end=\"289\">Aqu\u00ed tienes un <strong data-start=\"166\" data-end=\"217\">ejemplo muy bien elaborado originalmente en BGE<\/strong>, el cual ha sido <strong data-start=\"235\" data-end=\"283\">adaptado para funcionar en Range Game Engine<\/strong> \ud83d\ude80.<\/p>\n<p style=\"text-align: center;\" data-start=\"151\" data-end=\"289\"><span class=\"shared-files-shortcode-admin-list shared-files-shortcode-admin-list-file shared-files-shortcode-1050\" title=\"&lt;div class=&quot;shared-files-embed-6a20648f8d982 shared-files-main-container&quot; data-elem-class=&quot;shared-files-embed-6a20648f8d982&quot; data-search-type=&quot;0&quot; data-post-id=&quot;776&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-1050&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\/1050\/?lensflare_Range.zip&quot;  data-external-url=&quot;&quot;  data-image-url=&quot;&quot; href=&quot;\/blog\/uploads\/shared-files\/1050\/?lensflare_Range.zip&quot; target=&quot;_blank&quot;&gt;Lens Flare &#8211; Sample file&lt;\/a&gt;&lt;span class=&quot;shared-file-size&quot;&gt;97.57 KB&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: 72&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\/1050\/?lensflare_Range.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-6a20648f8f8bf shared-files-main-container\" data-elem-class=\"shared-files-embed-6a20648f8f8bf\" data-search-type=\"0\" data-post-id=\"1050\"><div class=\"shared-files-search\"><ul class=\"shared-files-main-file-list\"><li class=\"shared-files-card-1050\"><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\/1050\/?lensflare_Range.zip\"  data-external-url=\"\"  data-image-url=\"\" href=\"\/blog\/uploads\/shared-files\/1050\/?lensflare_Range.zip\" target=\"_blank\">Lens Flare &#8211; Sample file<\/a><span class=\"shared-file-size\">97.57 KB<\/span><span class=\"shared-file-date\">March 18, 2026<\/span><div class=\"shared-files-download-counter\"><span>Downloads: 72<\/span><\/div><div class=\"shared-files-download-button-container\"><a href=\"\/blog\/uploads\/shared-files\/1050\/?lensflare_Range.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<p data-start=\"291\" data-end=\"445\"><strong><span style=\"color: #99cc00;\">Para probarlo, simplemente:<\/span><\/strong><br \/>\n<span style=\"color: #339966;\">1\ufe0f\u20e3 Descarga el archivo aqu\u00ed<\/span><br data-start=\"342\" data-end=\"345\" \/><span style=\"color: #339966;\">2\ufe0f\u20e3 Coloca el cursor sobre la <strong data-start=\"375\" data-end=\"387\">Vista 3D<\/strong><\/span><br data-start=\"387\" data-end=\"390\" \/><span style=\"color: #339966;\">3\ufe0f\u20e3 Presiona la tecla <strong data-start=\"412\" data-end=\"419\">\u201cP\u201d<\/strong> para ejecutar el juego \u25b6\ufe0f<\/span><\/p>\n<p data-start=\"447\" data-end=\"626\">\ud83d\uddb1\ufe0f Una vez en ejecuci\u00f3n, puedes <strong data-start=\"480\" data-end=\"512\">mover la c\u00e1mara con el mouse<\/strong> para cambiar el \u00e1ngulo de visi\u00f3n y observar claramente <strong data-start=\"568\" data-end=\"595\">c\u00f3mo funciona el efecto<\/strong> desde diferentes perspectivas.<\/p>\n<p data-start=\"628\" data-end=\"775\" data-is-last-node=\"\" data-is-only-node=\"\">Este ejemplo no lo hice yo, pero en esta <a href=\"https:\/\/blenderartists.org\/forum\/showthread.php?398236-Lens-Flare-2D-Filter\" target=\"_blank\" rel=\"noopener\">liga<\/a> puedes leer sobre el archivo. En fin, este ejemplo es ideal para <strong data-start=\"655\" data-end=\"677\">analizar la l\u00f3gica<\/strong>, entender el comportamiento del lens flare y usarlo como <strong data-start=\"735\" data-end=\"773\">base para tus propios experimentos<\/strong> \u2728<\/p>\n<p data-start=\"628\" data-end=\"775\" data-is-last-node=\"\" data-is-only-node=\"\">\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2728 Lens Flare: un peque\u00f1o detalle que cambia por completo el mood \ud83c\udfae\ud83c\udf05 Creo que no me equivoco al decir que a todos los que hemos trabajado como 3D Artist o Environment Artist nos encanta agregar (cuando es necesario) ese tipo de detalles que marcan la diferencia:buena iluminaci\u00f3n, sombras bien pensadas y efectos lum\u00ednicos que [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":779,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[150],"tags":[],"class_list":["post-776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-resources"],"jetpack_featured_media_url":"https:\/\/salvador.mata.com.mx\/blog\/wp-content\/uploads\/2026\/01\/Lens_flare.gif","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/posts\/776","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=776"}],"version-history":[{"count":6,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/posts\/776\/revisions"}],"predecessor-version":[{"id":1051,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/posts\/776\/revisions\/1051"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/media\/779"}],"wp:attachment":[{"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/media?parent=776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/categories?post=776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salvador.mata.com.mx\/blog\/wp-json\/wp\/v2\/tags?post=776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}