From 8c6af01348222d1190cedefec124dbc7e3d6a120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= Date: Thu, 27 Feb 2014 21:33:38 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Update=20portuguese=20translation=20by=20M?= =?UTF-8?q?=C3=BCller=20on=20forum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Translations/pt/sys.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Translations/pt/sys.xml b/Translations/pt/sys.xml index 2f8d1bae3..8d9f280f3 100644 --- a/Translations/pt/sys.xml +++ b/Translations/pt/sys.xml @@ -25,15 +25,15 @@ inicializando carregando lista de aeronaves carregando aeronaves - carregando dados de navagação - inicializando cenários + carregando dados de navegacao + inicializando cenarios criando subsistemas inicializando subsistemas ligando subsistemas finalizando subsistemas - inicializando o motor gráfico - carregando cenários - finalizando posição + inicializando o motor grafico + carregando cenarios + finalizando posicao From 7cba9da8a1b1210b5e818b4b4c07b4c7410f56e8 Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Thu, 27 Feb 2014 22:49:25 +0000 Subject: [PATCH 2/2] Fix black halo around lights by removing depth write --- Effects/surface-lights.eff | 188 +++++++++++++++++++------------------ 1 file changed, 99 insertions(+), 89 deletions(-) diff --git a/Effects/surface-lights.eff b/Effects/surface-lights.eff index 13334448a..b9bb489e4 100644 --- a/Effects/surface-lights.eff +++ b/Effects/surface-lights.eff @@ -1,7 +1,7 @@ - Effects/surface-lights - + Effects/surface-lights + light-sprite @@ -12,9 +12,9 @@ /environment/visibility-m /environment/ground-haze-thickness-m /sim/rendering/eye-altitude-m - + - + @@ -28,7 +28,7 @@ GL_ARB_point_sprite GL_ARB_point_parameters - GL_ARB_shader_objects + GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_vertex_shader GL_ARB_fragment_shader @@ -36,22 +36,22 @@ - - - 8 - DepthSortedBin - - false - - src-alpha - one-minus-src-alpha - - - gequal - 0.1 - - directional - + + + 8 + DepthSortedBin + + false + + src-alpha + one-minus-src-alpha + + + gequal + 0.1 + + directional + point point @@ -73,8 +73,8 @@ Shaders/surface-light-lightfield.frag - size - float + size + float size @@ -102,12 +102,11 @@ sampler-2d 0 - true - + true + - - + @@ -124,22 +123,25 @@ - - - 8 - DepthSortedBin - - false - - src-alpha - one-minus-src-alpha - - - gequal - 0.1 - - directional - + + + 8 + DepthSortedBin + + false + + false + + + src-alpha + one-minus-src-alpha + + + gequal + 0.1 + + directional + point point @@ -156,11 +158,10 @@ texture[0]/wrap-s texture[0]/wrap-t - + - - + @@ -174,18 +175,21 @@ - - - 8 - DepthSortedBin - - false - - src-alpha - one-minus-src-alpha - - directional - + + + 8 + DepthSortedBin + + false + + false + + + src-alpha + one-minus-src-alpha + + directional + point point @@ -196,10 +200,10 @@ texture[0]/wrap-s texture[0]/wrap-t - + - + @@ -212,47 +216,53 @@ - + min-size max-size size attenuation - - 8 - DepthSortedBin - - - src-alpha - one-minus-src-alpha - - false - directional - + + 8 + DepthSortedBin + + + false + + + src-alpha + one-minus-src-alpha + + false + directional + point point - - + + - + - - - 8 - DepthSortedBin - - false - - src-alpha - one-minus-src-alpha - - directional - + + + 8 + DepthSortedBin + + false + + false + + + src-alpha + one-minus-src-alpha + + directional + point point - - + +