20 Commits

Author SHA1 Message Date
RealBadAngel
2d97d0619f Make faces shading correct for all possible modes.
Skip shading for lightsources and top of the nodes.
Fixes liquid sources and flowing surfaces having different brightness.
2014-08-14 06:43:47 +02:00
RealBadAngel
592c5d9a94 Faces shading fixes 2014-07-07 18:06:20 +02:00
RealBadAngel
e1be24b0dc Improved faces shading with and without shaders. 2014-06-17 00:56:17 +02:00
RealBadAngel
068b1ca61d Unite nodes shaders.
Pass drawtype and material type to shaders.
Move shaders generation to startup only.
Allow assign shaders per tile.
Initial code to support water surface shader.
2014-06-15 05:40:33 +02:00
RealBadAngel
24ae76ed5c Fix invalid liquid lighting. 2014-04-16 16:56:54 +02:00
RealBadAngel
9cf4f96fa7 Normal maps generation on the fly.
Parallax mapping with slope information.
Overriding normal maps.
2014-03-21 01:32:00 +01:00
RealBadAngel
9d6015b41d Optimize shaders code. Add settings at compile time. 2013-12-09 13:28:50 +01:00
Novatux
d1f08635ac Fix shaders on some GPUs 2013-12-08 08:01:20 +01:00
RealBadAngel
c18af13697 Shaders rework. 2013-12-03 18:55:25 +01:00
Zeg9
3fe3894256 Fix texture bumpmapping on some GPUs 2013-08-04 21:49:48 +02:00
RealBadAngel
e0d877e097 Add texture bumpmapping feature. 2013-07-04 02:36:32 +02:00
kwolekr
2920be01cb Actually fix shader3 alpha this time 2013-04-27 23:04:52 -04:00
kwolekr
94da56494b Transform alpha channel as well in shader 2013-04-25 12:30:01 -04:00
kwolekr
c94faffbf8 Add option to use texture alpha channel 2013-04-23 22:15:51 -04:00
PilzAdam
01173e6de6 Fix new_style_water 2013-03-17 11:28:43 -04:00
Perttu Ahola
36c3e12160 Tweak shader randomly a bit 2012-12-02 23:47:53 +02:00
Perttu Ahola
a4ca9f7699 Handle day-night transition in shader and make light sources brighter when shaders are used 2012-12-02 14:24:58 +02:00
Perttu Ahola
09e3b7ec53 Remove accidental vim swap file 2012-12-02 01:42:03 +02:00
Perttu Ahola
f24ea38744 Implement a global shader parameter passing system and useful shaders 2012-12-02 00:46:18 +02:00
Kahrl
c9e7e8ba3c ShaderSource and silly example shaders 2012-12-02 00:46:18 +02:00