1
0
Fork 0
Commit graph

28 commits

Author SHA1 Message Date
James Turner
105983702f Fix a GLSL compile error on Mac
(doesn't like #elif it seems). Since neither of these values
are ever defined, kill off the conditionals entirely.
2013-06-25 22:50:39 +01:00
Gijs de Rooy
c53d5c12ba Fix urban shader compile error. #elseif is an incorrect directive, #elif is the correct one. Thanks to colintoal for reporting. 2013-06-08 13:05:37 +02:00
Thorsten Renk
9be134b34d Procedural Texturing 2012-08-07 09:01:14 +02:00
Frederic Bouvier
6261badedb Finetune #623 2012-02-11 10:47:39 +01:00
Frederic Bouvier
4df297522c #623: don't modify depth buffer at grazing angles in the urban shader 2012-02-06 00:35:52 +01:00
Frederic Bouvier
0726910feb Urban shader: fix best quality and cleanup quality level 2011-12-17 17:21:35 +01:00
Mathias Froehlich
8eaedfae57 Correct extension handling in the urban fragment shader. 2011-12-08 08:58:36 +01:00
Frederic Bouvier
55cbdc2dbf Restore correct attribution 2011-12-03 09:07:57 +01:00
Vivian Meazza
c4c8dd63d2 ATI fix
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-02 15:21:27 +00:00
Vivian Meazza
47ec25ba08 Standardize fog
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-01 21:04:27 +00: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
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
a3813bda8d Urban shader using Quadtree Displacement Mapping 2010-10-25 22:37:05 +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
e1726953c1 Fix a shader problem reported by Tat 2010-08-23 08:53:18 +02:00
fredb
b73614b17a Remove snow from streets 2010-04-10 21:07:52 +00:00
fredb
64f351935b Add snow to urban shader 2010-04-10 17:32:07 +00:00
fredb
1a986d8747 Use quality level inside landmass fragment shader 2010-04-10 15:08:29 +00:00
fredb
714c500fa9 Use quality level inside urban fragment shader 2010-04-10 14:35:02 +00:00
fredb
d73a93f284 Disable self shadowing for now to gain some fps on older GPU. Should be configurable in the future 2010-04-01 20:59:17 +00:00
fredb
7ebe34e95c Put the color of night lighting in a uniform 2010-03-28 17:20:04 +00:00
fredb
2a99305a28 Night lighting improvement suggested by Erik Hofman 2010-03-28 16:54:26 +00:00
fredb
d8f6ccf49b Lessen fog in front of city light 2010-03-23 22:20:24 +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