Emilian Huminiuc
6ef4f5eca0
Make water efect use png textures by default, and rely on their dds counterparts only when using the dds materials file.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-06-16 18:57:14 +03:00
Vivian Meazza
0a8f9d71c3
Tidy up
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-05-07 17:22:15 +01:00
Vivian Meazza
9657518663
Optimise water shaders after ideas and suggestions by Thorsten Renk
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2012-05-05 19:59:22 +01:00
Torsten Dreyer
874a693e96
Simplify Phytagoras in the wave shader(s)
...
pow() is expensive and abs() is redundand.
pow(abs(x),2) equals x*x
2012-02-23 20:25:28 +01: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
James Turner
37a964ec92
Re-arrange effects using texture units >= 8 down to unused lower-numbered units. Especially move the noise texture down to the first available slot.
2012-01-11 23:22:44 +00:00
Vivian Meazza
f2b8bf1df5
bugfix
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-01 23:19:38 +00:00
Vivian Meazza
b0bcb91c24
Enhanced water and standardized fog
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-01 20:56:04 +00:00
James Turner
dc3d2b5b49
Remove an unused sampler from the water shader, which caused OpenGL errors on Mac+Ati.
2011-10-28 16:09:09 +01:00
Vivian Meazza
d45670baa8
Water shader PhaseII improvements.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-10-07 12:46:01 +01:00
Vivian Meazza
e758deced1
Add foam to water effect. Based on work by Emilian Huminuc.
2011-09-26 23:35:20 +01:00
Vivian Meazza
fbf219a56f
Update colours to reflect Global Weather
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-09-22 15:33:16 +01:00
Frederic Bouvier
d0cc5bcf5e
Add an attribution to the water shader
2010-12-05 14:44:02 +01:00
gral@who.net
43a69d8371
Small clean up
2010-09-30 01:46:52 +02:00
gral@who.net
3cdf9da27a
Next version of water shader, some clean up
2010-09-30 01:29:16 +02:00
ehofman
ce1db5c859
Update to better highlight the reflections away from the sun
2010-03-22 10:07:04 +00:00
ehofman
164effede9
small update: multiply the diffuse and ambient settings by the bump(map) value.
2010-03-21 13:21:37 +00:00
ehofman
f0ecd16f3c
Removed a line too many.
2009-08-22 12:36:38 +00:00
ehofman
43027bcc00
comment out unused code and add proper reflections for specular and diffuse color
2009-08-22 12:08:32 +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