aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/nodes_shader/opengl_fragment.glsl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simple shader fixes. (#8991)lhofhansl2019-09-261-0/+9
| | | | | 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)
* Fix fog weirdness (#5146)numberZero2017-01-311-1/+1
|
* Shaders: Remove unnecessary 'if' statementsLars Hofhansl2016-12-241-16/+15
| | | | | | Pull if GENERATE_NORMALMAPS == 1 into the template to avoid evaluating it for each fragment. Remove if (fogDistance != 0.0).
* Fog: Make fraction of visible distance at which fog starts configurableLars Hofhansl2016-12-071-1/+1
| | | | | | Optimise the fetching of global settings 'camera_smoothing', 'cinematic' and 'cinematic_camera_smoothing'. Cache 'cam_smoothing'.
* Fix unexplained shader issue (glsl compiler bug??) (#4757)Rogier-52016-11-171-2/+14
|
* Shaders: Remove special handling for liquids. (#4670)lhofhansl2016-10-261-9/+0
|
* Shaders: Apply tone mapping before fog calculation.Lars Hofhansl2016-10-251-4/+4
|
* Shaders: Harmonize Irrlicht and shader fog calculationsLars Hofhansl2016-10-241-4/+4
|
* Use range-based fog instead of z-plane based.Lars Hofhansl2016-10-131-2/+2
|
* Shaders: fix fog not affecting opaque liquidsRealBadAngel2016-02-231-1/+1
|
* Filmic HDR tone mappingRealBadAngel2016-02-091-6/+42
|
* Speed up and make more accurate relief mappingRealBadAngel2015-12-101-5/+19
| | | | using linear + binary search.
* Remove use of engine sent texture tiling flags - theyre no longer neededRealBadAngel2015-08-201-54/+3
|
* Fix relief mapping issuesRealBadAngel2015-07-161-19/+75
|
* Shaders fixes and cleanup relief mapping code.RealBadAngel2015-07-021-39/+24
|
* Bugfix: variable type mismatchRealBadAngel2015-06-281-1/+1
|
* Remove textures vertical offset. Fix for area enabling parallax.RealBadAngel2015-06-211-4/+4
|
* Improved parallax mapping. Generate heightmaps on the fly.RealBadAngel2015-06-141-39/+95
|
* Optimize bumpmapping mathematicsLoic Blot2015-01-161-1/+6
| | | | | | OpenGL_vertex: * bufferize a duplicate calcul * Factorize vertexes
* Revert "Optimize bumpmapping mathematics"Craig Robbins2015-01-161-6/+1
| | | | This reverts commit 148fffb0f23fa437c67639ff3cc69177fb71d76a.
* Optimize bumpmapping mathematicsLoic Blot2015-01-151-1/+6
| | | | | | OpenGL_vertex: * bufferize a duplicate calcul * Factorize vertexes
* Improved faces shading with and without shaders.RealBadAngel2014-06-171-12/+0
|
* Unite nodes shaders.RealBadAngel2014-06-151-0/+128
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.