Stuart Buchanan
21ff9d9680
Follow-on fix for issue 212 - cities disappear with certain quality levels.
...
Fix for Rembrandt.
2013-12-30 22:15:39 +00:00
Stuart Buchanan
31dc0d7c60
Fix for issue 212 - cities disappear with certain quality levels.
...
Underlying cause was caching of textures in effects. Resolved by using consistent texture indexes across quality levels.
2013-12-30 22:08:27 +00:00
Stuart Buchanan
b2f261ea0a
Improved Random building texturesa - Gabo Huerta
...
Improved textures, lightmaps from Gabo Huerta.
Improved interaction with the urban shader from Thorsten Renk.
2013-12-28 20:36:49 +00:00
Clément de l'Hamaide
cad2dc9e06
Fix missing elements in texture declaration in effects files. Fixes bug #1267
2013-11-18 03:17:58 +01:00
Thorsten Renk
c1157b762a
The ultra-terrain shader
2013-01-21 13:57:18 +02:00
Thorsten Renk
ed80612c98
Atmospheric Light Scattering update
2012-12-05 20:31:27 +00:00
Emilian Huminiuc
b650a0eb51
Make sure shaders are disabled as long as /sim/rendering/shaders/quality-level is 0 or non existing.
...
This should help those checking out models in fgviewer
To enable effects in fgviewer run it with:
fgviewer --prop /sim/rendering/shaders/quality-level -1
Also fix random buildings not showing up when model shader was set to 0 and generic was enabled.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-11-18 00:39:02 +02:00
Frederic Bouvier
54c043bdc3
Fix urban shader and issue #836
2012-09-03 11:19:22 +02:00
Stuart Buchanan
4ec24853a8
Create an Environment Settings dialog for non-weather environment settings
...
such as snow level, dust, wetness, and texture set.
Also add a parameter to control whether the snow level moves with METAR,
and retire /environment/mysnow-level-m.
2012-08-09 22:52:51 +01:00
Thorsten Renk
9be134b34d
Procedural Texturing
2012-08-07 09:01:14 +02:00
Frederic Bouvier
5cfca250b1
rename /sim/rendering/rembrandt -> /sim/rendering/rembrandt/enabled
...
and put rembrandt-related properties in /sim/rendering/rembrandt/
2012-05-12 09:20:04 +02:00
Frederic Bouvier
7e1ed19307
Put encode_gbuffer in a separate shader to please ATI and/or Mac OSX that doesn't like to have gl_FragData and gl_FragColor in the same program, even if one is never called
2012-05-04 09:34:00 +02:00
Emilian Huminiuc
f26472f614
Remove useless include_fog.vert from some of the effects.
...
Fis c/p error in ubershader-deferred.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-05-03 00:01:59 +03:00
Stuart Buchanan
98e7a194e8
Random buildings - initial commit of data portion. Requires
...
simgear change to have any effect.
2012-04-24 21:55:37 +01:00
Frederic Bouvier
c05b12a6ab
Change normal encoding method to get rid of RG16 textures and buffers
2012-04-13 00:01:12 +02:00
Frederic Bouvier
b857fb2d7c
Rembrandt: convert urban effect
2012-04-09 18:52:24 +02:00
Emilian Huminiuc
4df2af2cef
SHADERS:fix "unified" fog function.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-02-14 18:39:58 +02:00
Frederic Bouvier
5026322da4
Revert unwanted change
2011-12-17 18:22:51 +01:00
Frederic Bouvier
0726910feb
Urban shader: fix best quality and cleanup quality level
2011-12-17 17:21:35 +01:00
Gijs de Rooy
6c971211b8
Quality slider overwrites custom shader settings. All effects now listen to the new sim/rendering/shaders/<foo> properties.
2011-12-12 17:04:36 +01:00
Frederic Bouvier
6b6b5484c0
Urban shader doesn't need GL_ARB_shader_texture_lod for quality level below 4.0. If needed, the shader should be split to have different requirements between levels.
2011-12-11 12:42:48 +01:00
Mathias Froehlich
8eaedfae57
Correct extension handling in the urban fragment shader.
2011-12-08 08:58:36 +01:00
Gijs de Rooy
2ca355bc82
Fix issue #511 : effects use new property for snow-level
2011-12-06 11:33:19 +01:00
Vivian Meazza
b8d57b9474
Add fog include and amend parameters iaw new render/shader dialog
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-11-28 15:02:20 +00:00
Frederic Bouvier
7c608c2003
Restore QDM urban shader technique for quality level >= 4
2010-11-02 22:31:39 +01:00
Frederic Bouvier
7d82264b79
Revert "Urban shader using Quadtree Displacement Mapping"
...
This reverts commit 3cd68ac922d5768e5403065e1654478c1fbe0c7f.
2010-11-02 21:31:31 +01:00
Frederic Bouvier
a3813bda8d
Urban shader using Quadtree Displacement Mapping
2010-10-25 22:37:05 +02:00
fredb
64f351935b
Add snow to urban shader
2010-04-10 17:32:07 +00:00
fredb
714c500fa9
Use quality level inside urban fragment shader
2010-04-10 14:35:02 +00:00
fredb
9638e607cf
Use new "/sim/rendering/quality-level" property
2010-04-10 13:59:24 +00:00
fredb
2ed5074122
Use actual texture coverage
2010-04-10 10:08:27 +00:00
fredb
71ff1ae846
Use new materials.xml format to declare a second city texture with its own relief map provided by Yves/hb-gral
2010-04-10 09:40:41 +00:00
fredb
7ebe34e95c
Put the color of night lighting in a uniform
2010-03-28 17:20:04 +00:00
fredb
0d930f3b68
Urban texture coverage was changed lately
2010-03-22 22:30:57 +00:00
fredb
f8e595361a
Update to the urban shader. Support shadows, intersection with 3d objects and night lighting.
2010-03-22 22:00:44 +00:00
fredb
c9236ad565
First iteration of the urban effect with relief mapping. Relief map by HB-Gral.
2010-03-12 22:25:19 +00:00