aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/wielded_shader/opengl_fragment.glsl
Commit message (Collapse)AuthorAge
* Shaders: Remove unnecessary 'if' statementsLars Hofhansl2016-12-24
| | | | | | 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-07
| | | | | | 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-17
|
* Shaders: Harmonize Irrlicht and shader fog calculationsLars Hofhansl2016-10-24
|
* Use range-based fog instead of z-plane based.Lars Hofhansl2016-10-13
|
* Add wielded (and CAOs) shaderRealBadAngel2015-07-21