1
0
Fork 0
Commit graph

18 commits

Author SHA1 Message Date
Emilian Huminiuc
b466346a53 make sure crop and landmass based effects turn off under Rembrandt
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-06-29 18:57:03 +03: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
Emilian Huminiuc
4df2af2cef SHADERS:fix "unified" fog function.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-02-14 18:39:58 +02: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
Vivian Meazza
cc329668dc Add include fog
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-11-28 20:22:10 +00:00
Frederic Bouvier
52205b6ee4 Increase quality threshold of geometry landmass 2010-11-20 21:39:05 +01:00
Tim Moore
d27174028e shader optimizations
Use two-pass rendering for some shaders to reduce the cost of expensive shaders.

Implement some material animations using a shader uniform.

Eliminate use of gl_FrontFacing. It's too buggy on ATI/ Macintosh.
2010-08-14 00:13:16 +02:00
timoore
6e58bce8e5 Rewrote landmass geometry shader
I did several optimizations, including reducing to a bare minimum
shader computations and producing the geometry as one tristrip with
degenerate triangles. The result was an increase from 14 fps to 51 fps
(NVidia 8600M, ufo, ksfo).


Author: Tim Moore <timoore@redhat.com>
2010-04-22 14:56:34 +00:00
fredb
fe297a342e Restore basic functionality of the original shader 2010-04-11 06:09:07 +00:00
fredb
1a986d8747 Use quality level inside landmass fragment shader 2010-04-10 15:08:29 +00:00
fredb
9638e607cf Use new "/sim/rendering/quality-level" property 2010-04-10 13:59:24 +00:00
fredb
5d76d5f3f5 Landmass update: add a triangle for the ground and don't apply relief on it 2010-04-02 07:06:39 +00:00
fredb
e0056383f3 Use geometry shader to give more relief to landmass 2010-03-29 06:13:43 +00:00
fredb
24d8e9293c Add relief mapping to landmass effect 2010-03-28 17:00:19 +00:00
stuart
6b4857ce8c Allow the snow level of the landmass shader to be set from the property system, and expose it in the rendering dialog. Could be used in future to set the snow level based on the current weather. 2010-03-27 14:02:56 +00:00
sydadams
6e4fce2e8d changed condition properties so each coud be enabled from the dialog 2009-10-08 02:53:37 +00:00
timoore
44ec84e6f6 Remove empty parameters sections from effects
They break inheritance of parameters from a parent
2009-08-09 21:52:06 +00:00
timoore
943ba2a4fe Till Busch - effects, shaders and textures for crop and water effects
Incorporated changes to effects file syntax. Changed Till's landmass
to mix in the base terrain texture. Some shader cleanup.

Also, add a GUI control for enabling shaders.
2009-08-08 10:17:58 +00:00