aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/nodes_shader/opengl_vertex.glsl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Shaders: Fix OpenGL < 4.3 compatibilitySmallJoker2020-02-161-8/+6
|
* Waves generated with Perlin-type noise #8994Lars Hofhansl2019-11-191-6/+53
|
* Simple shader fixes. (#8991)lhofhansl2019-09-261-0/+8
| | | | | 1. Pass current camera offset to shader, so shader have access to the global coordinates 2. Pass animation timer to fragment shader. C++ code is already there, just wasn't declared in the shader 3. Delay animation timer wrap-around (from 100s to about 16 minutes)
* Require 'waving = 3' in a nodedef to apply the liquid waving shader (#8418)Paramat2019-03-271-1/+1
| | | | | | | | Makes the liquid waving shader per-nodedef like waving leaves/plants, instead of being applied to all liquids. Like the waving leaves/plants shaders, the liquid waving shader can also be applied to meshes and nodeboxes. Derived from a PR by t0ny2.
* Shaders: Fix comment line (#7668)xzcx2018-08-301-1/+1
| | | Fixed comment as finalColorBlend() does not exist in the code base.
* Add hardware node coloring. Includes:Dániel Juhász2017-01-231-24/+19
| | | | | | - Increase ContentFeatures serialization version - Color property and palettes for nodes - paramtype2 = "color", "colored facedir" or "colored wallmounted"
* Remove unused shader matrices. (#4723)lhofhansl2016-11-041-2/+0
|
* Nodes shader: Decrease amplitude of waving leaves and plantsparamat2016-03-301-11/+15
| | | | | | Fix initialisation of variable 'disp' Fix a few minor code style issues Add independent X motion combining 2 prime frequencies
* Replace CRLF with LF in shader filesest312016-03-251-86/+86
|
* Shaders: use triple-frequency waving for leaves and plantsparamat2015-09-071-25/+23
|
* Remove use of engine sent texture tiling flags - theyre no longer neededRealBadAngel2015-08-201-1/+1
|
* Fix relief mapping issuesRealBadAngel2015-07-161-1/+1
|
* Shaders fixes and cleanup relief mapping code.RealBadAngel2015-07-021-5/+5
|
* Remove textures vertical offset. Fix for area enabling parallax.RealBadAngel2015-06-211-8/+12
|
* Automated whitespace error fix for last commitest312015-06-141-40/+40
|
* Improved parallax mapping. Generate heightmaps on the fly.RealBadAngel2015-06-141-39/+40
|
* Optimize bumpmapping mathematicsLoic Blot2015-01-161-7/+24
| | | | | | OpenGL_vertex: * bufferize a duplicate calcul * Factorize vertexes
* Revert "Optimize bumpmapping mathematics"Craig Robbins2015-01-161-24/+7
| | | | This reverts commit 148fffb0f23fa437c67639ff3cc69177fb71d76a.
* Optimize bumpmapping mathematicsLoic Blot2015-01-151-7/+24
| | | | | | OpenGL_vertex: * bufferize a duplicate calcul * Factorize vertexes
* Restore finalColorBlend implementation in shaders.RealBadAngel2014-12-071-3/+29
|
* Let lighting be done only CPU side. Remove finalColorBlend implementation ↵RealBadAngel2014-08-161-27/+1
| | | | from shaders.
* Make faces shading correct for all possible modes.RealBadAngel2014-08-141-1/+1
| | | | | Skip shading for lightsources and top of the nodes. Fixes liquid sources and flowing surfaces having different brightness.
* Faces shading fixesRealBadAngel2014-07-071-14/+0
|
* Improved faces shading with and without shaders.RealBadAngel2014-06-171-7/+13
|
* Unite nodes shaders.RealBadAngel2014-06-151-0/+135
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.