22 Commits

Author SHA1 Message Date
paramat
b595f0fecb Nodes shader: Decrease amplitude of waving leaves and plants
Fix initialisation of variable 'disp'
Fix a few minor code style issues
Add independent X motion combining 2 prime frequencies
2016-03-30 01:53:22 +01:00
est31
12bf78b5b2 Replace CRLF with LF in shader files 2016-03-25 15:57:18 +01:00
RealBadAngel
d264deafd8 Shaders: fix fog not affecting opaque liquids 2016-02-23 23:51:41 +00:00
RealBadAngel
ead025fb02 Filmic HDR tone mapping 2016-02-09 02:55:59 -05:00
RealBadAngel
5f9505fcbc Speed up and make more accurate relief mapping
using linear + binary search.
2015-12-10 18:24:11 +01:00
paramat
45b6fe3563 Shaders: use triple-frequency waving for leaves and plants 2015-09-07 21:52:36 +02:00
RealBadAngel
5f0aa06221 Remove use of engine sent texture tiling flags - theyre no longer needed 2015-08-20 02:41:40 +02:00
RealBadAngel
dd9ca2e7ed Fix relief mapping issues 2015-07-16 15:36:48 +02:00
RealBadAngel
f60b0bd911 Shaders fixes and cleanup relief mapping code. 2015-07-02 21:36:45 +02:00
RealBadAngel
921fe9ef26 Bugfix: variable type mismatch 2015-06-28 21:11:54 +02:00
RealBadAngel
4287e8a34e Remove textures vertical offset. Fix for area enabling parallax. 2015-06-21 00:11:09 +02:00
est31
f9eb909eb2 Automated whitespace error fix for last commit 2015-06-14 23:15:20 +02:00
RealBadAngel
a111a5fbcf Improved parallax mapping. Generate heightmaps on the fly. 2015-06-14 21:13:36 +02:00
Loic Blot
7aa6708605 Optimize bumpmapping mathematics
OpenGL_vertex:
* bufferize a duplicate calcul
* Factorize vertexes
2015-01-16 20:54:04 +10:00
Craig Robbins
1227b7c07b Revert "Optimize bumpmapping mathematics"
This reverts commit 148fffb0f23fa437c67639ff3cc69177fb71d76a.
2015-01-16 01:30:03 +10:00
Loic Blot
28cf5dd65f Optimize bumpmapping mathematics
OpenGL_vertex:
* bufferize a duplicate calcul
* Factorize vertexes
2015-01-15 23:12:45 +10:00
RealBadAngel
0e340a5753 Restore finalColorBlend implementation in shaders. 2014-12-07 11:05:00 +01:00
RealBadAngel
eac3364d18 Let lighting be done only CPU side. Remove finalColorBlend implementation from shaders. 2014-08-16 14:48:52 +02:00
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