12 Commits

Author SHA1 Message Date
Vitaliy
9627563107
Proper fog disabling with and without shaders (#227) 2022-01-05 21:22:38 +01:00
Maksim
03194a3e40 Fix RGB order in shaders on GLES 2020-12-10 18:11:32 +01:00
Vitaliy
24e388f721
Shaders support for GLES2. Drop bump mapping, parallax occlusion and normal maps support (#186) 2020-11-07 19:30:18 +01:00
Dániel Juhász
d5a0b5283e Add hardware node coloring. Includes:
- Increase ContentFeatures serialization version
- Color property and palettes for nodes
- paramtype2 = "color", "colored facedir" or "colored wallmounted"
2017-01-23 07:27:12 +01:00
Lars Hofhansl
587e4b23f2 Shaders: Remove unnecessary 'if' statements
Pull if GENERATE_NORMALMAPS == 1 into the template to avoid evaluating
it for each fragment.
Remove if (fogDistance != 0.0).
2016-12-24 00:22:16 +00:00
Lars Hofhansl
ef6e0d1a52 Fog: Make fraction of visible distance at which fog starts configurable
Optimise the fetching of global settings 'camera_smoothing',
'cinematic' and 'cinematic_camera_smoothing'.
Cache 'cam_smoothing'.
2016-12-07 04:07:54 +00:00
Rogier-5
66b8a7e2ac Fix unexplained shader issue (glsl compiler bug??) (#4757) 2016-11-17 02:56:05 +10:00
lhofhansl
fec859fe92 Remove unused shader matrices. (#4723) 2016-11-04 18:12:45 +01:00
Lars Hofhansl
b1a5c9fe3a Shaders: Harmonize Irrlicht and shader fog calculations 2016-10-24 07:41:00 +01:00
Lars Hofhansl
921e88f1c3 Use range-based fog instead of z-plane based. 2016-10-13 23:30:15 +02:00
est31
12bf78b5b2 Replace CRLF with LF in shader files 2016-03-25 15:57:18 +01:00
RealBadAngel
35f96637dc Add wielded (and CAOs) shader 2015-07-21 23:56:41 +02:00