1
0
Fork 0
Commit graph

123 commits

Author SHA1 Message Date
Vivian Meazza
062594ff05 Add new shaders in support of .dds textures
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-09-05 16:02:06 +01:00
Vivian Meazza
3ca2539064 Merge branch 'work' of D:\Git_New\fgdata 2011-08-23 22:52:24 +01:00
Vivian Meazza
c383cda2c6 Add support for transparent materials and .dds normal maps.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-08-23 22:51:14 +01:00
Stuart Buchanan
74a9f8e1a6 Extend visibility range of 3d clouds to /sim/rendering/clouds3d-vis-range 2011-08-21 22:09:04 +01:00
Vivian Meazza
8caf2ef24d Bugfix: correct transpareny issue.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-08-18 22:05:42 +01:00
Vivian Meazza
5d06c1800b Try fix for transparency issue.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-08-18 20:11:53 +01:00
Stuart Buchanan
191a51d921 Support z-scaling in the 3d clouds- shader parts. 2011-08-07 13:47:17 +01:00
Erik Hofman
aff94b66ed fix another typo 2011-07-16 15:53:25 +02:00
Erik Hofman
2e441b27b5 fix a typo 2011-07-16 15:52:03 +02:00
Erik Hofman
9c69635df9 Prevent a device by zero. 2011-07-16 15:49:31 +02:00
Erik Hofman
095e535082 Don't let the urban shader and the landmass shader fight over the city type terrain and restrict the landmass shader to only below a quality of 3.5 2011-07-16 15:30:32 +02:00
Erik Hofman
7300bc4bb0 revert the reflection shader patch, it didn't work out the way I hoped it would 2011-07-16 15:11:52 +02:00
Erik Hofman
16c73c0e5e Move the fogCoord calculation to the shader to limit the number of varyings to 7 2011-07-16 11:52:54 +02:00
Erik Hofman
281445e31e Like the landmass sharder, move the bump factor to the shader file to limit the number of varyings to 7 2011-07-16 11:51:45 +02:00
Erik Hofman
71283a3eae Bring the old urban shader (qualiti level=3.5) back to life on my video hardware by restricting the number of varying variables to a maximum of seven. 2011-07-16 11:11:06 +02:00
ThorstenB
09062b72a9 Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related)
AMD/ATI compiler requires proper float values for conditions/expressions.
2011-07-04 20:20:26 +02:00
James Turner
169bc757b6 For for bug 335, lightmap shader broken on some Ati drivers, especially Mac. Thanks to Stuart for the fix. 2011-07-03 20:21:09 +01:00
Torsten Dreyer
9998a658ec Another attempt to fix #123: 3d clouds flicker on mac
Thanks to Stuart for providing this patch.
2011-06-28 20:03:59 +02:00
Gijs de Rooy
bef7c3b04b Add intensity-factor to lightmap shader 2011-06-10 18:51:30 +02:00
Torsten Dreyer
cc37e63561 Fix bug#123: 3d cloud flicker on Mac 2011-06-08 17:08:33 +02:00
Vivian Meazza
c67632905a Add Skydome effect.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-04-15 16:07:53 +01:00
Frederic Bouvier
65c166c12c Local Weather 1.0 by Thorsten Renk 2011-03-19 14:03:28 +01:00
Gijs de Rooy
f8fe1df22a Lightmap conditional 2011-02-19 22:03:27 +01:00
Frederic Bouvier
0fa470269f Fix issue #246 http://code.google.com/p/flightgear-bugs/issues/detail?id=246 by Lauri Peltonen 2011-02-17 23:28:36 +01:00
Frederic Bouvier
3c8105adf1 Fix issue #252 http://code.google.com/p/flightgear-bugs/issues/detail?id=252 by Lauri Peltonen 2011-02-17 08:05:34 +01:00
Gijs de Rooy
4fd8621209 Lightmap: ATI fix by AndersG 2011-02-11 19:35:47 +01:00
Gijs de Rooy
8db0ca44ef An initial lightmap shader 2011-02-11 18:33:53 +01:00
Frederic Bouvier
d0cc5bcf5e Add an attribution to the water shader 2010-12-05 14:44:02 +01:00
Frederic Bouvier
426b7f8ae3 reflect-bump-spec shader improvement by i4dnf 2010-11-20 21:21:05 +01: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
7e816deb44 Revert "Small fix to the urban shader"
This reverts commit 41027306053caabfa9dc8bf999fad3740e91cdb2.
2010-11-02 21:31:00 +01:00
Frederic Bouvier
77174294ce Small fix to the urban shader 2010-10-27 09:17:10 +02:00
Frederic Bouvier
758f691a1c Local Weather version 0.9 by Thorsten Renk 2010-10-26 21:42:36 +02:00
Frederic Bouvier
a3813bda8d Urban shader using Quadtree Displacement Mapping 2010-10-25 22:37:05 +02:00
Frederic Bouvier
21ae0c8c69 To spare few GPU cycle 2010-10-03 09:15:33 +02:00
Frederic Bouvier
6e559ab4eb Restore old shader for quality level below 2 2010-10-03 08:57:33 +02:00
Frederic Bouvier
e4da5245e8 Merge commit 'refs/merge-requests/28' of git://gitorious.org/fg/fgdata into gral/water2 2010-10-03 08:48:20 +02: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
Frederic Bouvier
3e563df3a4 Remove reflection modulation by shininess factor (bump map alpha channel) 2010-09-26 08:41:50 +02:00
Stuart Buchanan
5d2845a540 Minor change to urban shader to mak building sides vertical. 2010-09-25 22:28:56 +01:00
Frederic Bouvier
2bc5c2177a Don't scale alpha when using reflection coefficient 2010-09-21 19:59:22 +02:00
Frederic Bouvier
52c646b2cc Better use of clamp 2010-09-21 09:21:44 +02:00
Frederic Bouvier
ee8d70b3bf Use specular factor of bumpspec map (alpha channel) to modulate reflection factor 2010-09-21 09:17:07 +02:00
Frederic Bouvier
d734e32bd5 Modified reflect effect to include bumpspec. Original effect untouched 2010-09-21 08:23:13 +02:00
Frederic Bouvier
a875bcbbb4 Add forgotten files 2010-09-10 21:49:16 +02:00
Frederic Bouvier
a0803ad074 Local Weather v0.85 by Thorsten Renk 2010-09-10 08:52:21 +02:00
gral@who.net
cf0f7c298c Fix: bringing back constantColor in crop shaders 2010-09-03 09:37:52 +02:00
gral@who.net
f08cd1f12d Forest pixel shader edit, reduce bias mix (was: bright forest) 2010-09-01 14:58:55 +02:00