1
0
Fork 0
fgdata/Shaders
Stuart Buchanan fc27175690 Reduce shader attribute usage by packing floats
Previously we required 6 shader attributes to pass
in all the required information for the building shader.
By using packing techniques this has been reduced to 4.

This should improve support for integrated graphics cards.
2020-03-26 22:06:21 +00:00
..
3dcloud-ALS-detailed.frag ALS: New cloud rendering detail level with more dramatic Mie scattering at cloud fringes done inside fragment shader 2018-08-30 09:17:36 +03:00
3dcloud-ALS-detailed.vert ALS: New cloud rendering detail level with more dramatic Mie scattering at cloud fringes done inside fragment shader 2018-08-30 09:17:36 +03:00
3dcloud-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
3dcloud-ALS.vert More infrastructure for perception filtering of moonlight 2017-11-13 10:27:25 +02:00
3dcloud.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
3dcloud.vert Fix for black clouds on ATI (bug 1160) 2013-12-25 23:14:04 +00:00
agriculture-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
airfield-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
ambient.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
birds-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
birds-ALS.vert ALS bird shader 2016-04-30 21:27:28 +03:00
bloom-combine.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
blur.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
bowwave-ALS.frag Filtering for most remaining ALS shaders 2016-04-06 09:26:49 +03:00
bowwave.frag Optimisation and tidying 2012-05-07 19:11:34 +01:00
building-ALS.vert Reduce shader attribute usage by packing floats 2020-03-26 22:06:21 +00:00
building-default.frag Shader buildings multiple roof types 2019-10-08 21:39:40 +01:00
building-default.vert Reduce shader attribute usage by packing floats 2020-03-26 22:06:21 +00:00
building-deferred-gbuffer.vert Reduce shader attribute usage by packing floats 2020-03-26 22:06:21 +00:00
building-model-ALS-ultra.vert Reduce shader attribute usage by packing floats 2020-03-26 22:06:21 +00:00
building-ubershader.vert Reduce shader attribute usage by packing floats 2020-03-26 22:06:21 +00:00
bumpspec.frag Olaf Flebbe: Typo in shader, really check argument of pow() 2012-04-14 22:15:51 +02:00
bumpspec.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
chute-ALS.vert ALS drag/parachute animation shader 2016-12-10 10:40:25 +02:00
cinema.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
cliffs-ALS.frag Cliffs effect and fragment shader by James Hester. 2019-03-31 15:28:34 -05:00
cloud-impostor-ALS.vert More infrastructure for perception filtering of moonlight 2017-11-13 10:27:25 +02:00
cloud-noctilucent-ALS.vert More infrastructure for perception filtering of moonlight 2017-11-13 10:27:25 +02:00
cloud-shadowfunc.frag Some fixes for the ALS overlay shader 2017-09-18 12:47:21 +03:00
cloud-static-ALS-detailed.frag ALS: Fix rainbow fringing order in Cirrus clouds 2018-09-05 09:20:20 +03:00
cloud-static-ALS-detailed.vert ALS: Detailed scattering model for light on Cirrus clouds 2018-09-01 09:42:34 +03:00
cloud-static-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
cloud-static-ALS.vert More infrastructure for perception filtering of moonlight 2017-11-13 10:27:25 +02:00
cloud-static.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
cloud-static.vert Local Weather 1.4 by Thorsten Renk : fixes lots of graphical errors and transparency issues and provides a consistent GUI. 2012-01-03 20:21:34 +01:00
clouds-box.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
clouds-box.vert Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related) 2011-07-04 20:20:26 +02:00
clouds-layered.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
clouds-layered.vert Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related) 2011-07-04 20:20:26 +02:00
clouds-test.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
clouds-test.vert Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related) 2011-07-04 20:20:26 +02:00
clouds-thick.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
clouds-thick.vert Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related) 2011-07-04 20:20:26 +02:00
clouds-thin.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
clouds-thin.vert Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related) 2011-07-04 20:20:26 +02:00
clouds-thinlayer.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
clouds-thinlayer.vert Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related) 2011-07-04 20:20:26 +02:00
color_temperature.frag Glow effect for ALS space shader, converting a temperature into surface blackbody radiation color 2017-05-26 12:19:06 +03:00
contrail.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
contrail.vert Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related) 2011-07-04 20:20:26 +02:00
crop.frag SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
crop.vert Fix: bringing back constantColor in crop shaders 2010-09-03 09:37:52 +02:00
default.frag Standardize fog 2011-12-01 21:03:40 +00:00
default.vert SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
deferred-gbuffer.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
deferred-gbuffer.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
deferred-tree.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
deferred-tree.vert Speculative fix for shader cast issue on Mac. 2013-05-31 19:50:57 +01:00
display.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
drunway-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
filters-ALS.frag Added dithering as an ALS post-processing effect to prevent banding 2019-04-21 18:53:19 +02:00
filters-ALS.vert ALS - begin infrastructure for moonlight perception filtering 2017-06-18 10:08:39 +03:00
flutter-ALS.vert ALS maintenance - reworked light curves, streamlining, minor bugfixes,... 2014-12-15 15:50:47 +02:00
flutter.vert Cleanup some implicit casts 2012-07-31 21:40:15 +03:00
fog.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
fog.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
forest.frag Remove hardcoded maximum snow level. Now configured via Environment Settings. 2012-10-05 22:13:24 +01:00
forest.vert SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
fullscreen.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
gbuffer-encode.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
gbuffer-functions.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
generic-ALS-base.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
glass-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
glass-ALS.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
grass-ALS.frag Tentatively make ALS grass shader more palatable to AMD/Radeon 2017-09-18 12:38:19 +03:00
grass-ALS.geom Tentatively make ALS grass shader more palatable to AMD/Radeon 2017-09-18 12:38:19 +03:00
grass-ALS.vert Volumetric grass effect for ALS utilizing a geomerty shader, based on work by Fernando Garcia Linan 2017-05-24 15:16:30 +03:00
hazes.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
hud-ALS.frag Another ALS HUD bugfix, cannot have two uniforms named the same 2017-04-19 09:52:53 +03:00
hud-ALS.vert ALS HUD effect approximating the appearance of light projected on the combiner 2017-02-24 09:28:54 +02:00
include_fog.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
include_fog.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
landmass-g.vert SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
landmass.frag Standardize fog 2011-12-01 21:05:05 +00:00
landmass.geom Fix a few GLSL errors as reported by glslangValidator 2016-06-29 11:53:24 +02:00
landmass.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
light-ALS.frag Make ALS procedural light shader palatable to nouveau driver 2017-09-01 12:57:11 +03:00
light-ALS.vert Procedural aircraft lights for ALS - WIP 2016-02-03 09:13:30 +02:00
light-cone.frag SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
light-cone.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
light-point.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
light-spot.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
light-spot.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
lightmap.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
lightmap.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
lightspot-ALS.frag ALS lightspot second projectable spot correction. 2016-10-05 14:47:44 -05:00
mat-anim.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
mat-anim.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
mode-diffuse.vert SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
mode-off.vert SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
model-ALS-base.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
model-ALS-ultra.frag ALS: Tentative fix for random building fog issue II - fall back to old up-vector computations when building flag is set 2018-02-11 09:46:21 +02:00
model-ALS-ultra.vert Experimental additional lighting options for ALS model shaders 2016-07-31 10:29:02 +03:00
model-ALS-wingflex.vert Fix bug about body width 2020-03-02 10:05:17 +00:00
model-default.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
model-default.vert SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
model-interior-ALS-base.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
model-interior-ALS-detailed.frag Ported the specular lightning from combined shader to ALS interior detailed shader, to make the spot independent of view direction. 2017-10-10 18:11:59 +02:00
model-interior-ALS-detailed.vert Ported the specular lightning from combined shader to ALS interior detailed shader, to make the spot independent of view direction. 2017-10-10 18:11:59 +02:00
model-interior-display-ALS.frag ALS: Add display effect - dust overlay texture provided under GPL 2+ by Martin Litzenberger 2018-09-01 09:54:42 +03:00
night-vision.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
noise.frag Interior glass effect with dynamic environment response for ALS 2015-03-10 13:43:08 +02:00
planet-aurora.frag Earthview 2.1 - parallax mapping for cloud layer, lightning at night, Rayleigh scattering in atmosphere and minor bugfixes 2017-04-05 16:50:31 +03:00
planet-aurora.vert Earthview 2.1 - parallax mapping for cloud layer, lightning at night, Rayleigh scattering in atmosphere and minor bugfixes 2017-04-05 16:50:31 +03:00
planet-cloudlayer.frag Improvements to Earthview: enable changing cloud density, fix aurora z-ordering issue, let moonlight give a relief effect to clouds 2018-01-29 09:25:38 +02:00
planet-high.frag Improvements to Earthview: enable changing cloud density, fix aurora z-ordering issue, let moonlight give a relief effect to clouds 2018-01-29 09:25:38 +02:00
planet.frag Earthview 2.1 - parallax mapping for cloud layer, lightning at night, Rayleigh scattering in atmosphere and minor bugfixes 2017-04-05 16:50:31 +03:00
planet.vert Improvements and bugfixes for orbital rendering 2015-03-29 13:16:19 +03:00
rain-layer-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
rain-layer-ALS.vert Light scattering phenomena for ALS: rainbow, halo, sundogs and light pillar 2015-12-21 13:07:32 +02:00
rain-layer.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
rain-layer.vert SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
reflect-bump-spec.frag SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
reflect-bump-spec.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
reflect.frag SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
reflect.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
road-ALS-ultra.frag ALS: Traffic shader uses car images on texture - artwork by Gilberto Agostinho 2019-01-14 13:57:02 +02:00
rock-ALS.frag ALS: Improve snow rendering of procedural rock shader 2018-09-17 11:21:35 +03:00
runway-ALS.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
runway-gbuffer.frag Improve runway reflection shader by Emilian H. 2014-01-23 17:23:03 +01:00
runway-gbuffer.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
runway.frag Make the other sunlight shaders recognize water matId. 2012-07-19 22:08:35 +03:00
secondary_lights.frag Bugfixes for ALS light addition 2016-08-18 09:25:03 +03:00
shadow-ALS.frag flug: 2017-03-25 09:57:36 +01:00
shadow-ALS.vert Thorsten Renk: since the 2d and 3d shadow share the fragment shader, you've unfortunately just broken the 2d shadow technique which does not generate varying alpha_correction in the vertex shader 2017-03-25 14:34:19 +01:00
shadow-vol-ALS.vert flug: 2017-03-25 09:57:36 +01:00
skydome-ALS.frag ALS: Detailed scattering model for light on Cirrus clouds 2018-09-01 09:42:34 +03:00
skydome-ALS.vert ALS: tentative fix for skydome monolith artifact - apparently this is a numerical accuracy issue (?) 2018-02-13 15:00:21 +02:00
space-ALS-base.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
space-ALS-base.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
space-ALS-ultra.frag ALS - begin infrastructure for moonlight perception filtering 2017-06-18 10:08:39 +03:00
space-ALS-ultra.vert Experimental additional lighting options for ALS model shaders 2016-07-31 10:29:02 +03:00
ssao.frag Get rid of unsigned int and 'invalid operation' at after RenderBin::Draw(..) 2012-08-06 10:27:17 +01:00
ssao.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
sunlight-nofiltering.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
sunlight-noshadow.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
sunlight.frag Improve light reflections on water 2012-07-13 14:46:31 +02:00
sunlight.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
surface-light-ALS.frag Make ALS procedural light sprite more palatable to nouveau GPU driver 2017-03-04 10:01:45 +02:00
surface-light-ALS.vert Fix for light point sprite shader when light definition is initially small and creates nmerical issues 2019-10-06 11:26:42 +03:00
terrain-ALS-base.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
terrain-ALS-detailed.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
terrain-ALS-detailed.vert ALS - begin infrastructure for moonlight perception filtering 2017-06-18 10:08:39 +03:00
terrain-ALS-ultra.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
terrain-ALS-ultra.vert ALS - begin infrastructure for moonlight perception filtering 2017-06-18 10:08:39 +03:00
terrain-default.frag SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
terrain-nocolor.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
terrain-overlay-ALS.frag Some fixes for the ALS overlay shader 2017-09-18 12:47:21 +03:00
terrain-overlay-ALS.geom Some fixes for the ALS overlay shader 2017-09-18 12:47:21 +03:00
test.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
test.vert Robert (dogg360): make shaders work for AMD/ATI graphics (#96,#335 related) 2011-07-04 20:20:26 +02:00
thrustflame-ALS-detailed.frag Introduce detailed version of thruster flame 2016-08-01 11:47:44 +03:00
thrustflame-ALS.frag Bugfix and noise seed option for ALS thrust flame shader 2017-04-17 10:30:49 +03:00
thrustflame-ALS.vert Improvements to flame effect 2015-05-22 10:51:54 +03:00
transition-gbuffer.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
transition-gbuffer.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
transition.frag use world coordinates for noise texture lookup 2013-01-17 11:51:23 +02:00
transition.vert use world coordinates for noise texture lookup 2013-01-17 11:51:23 +02:00
tree-ALS-shadow.frag ALS: do not clamp haze color in object shaders, this leads to mismatch with terrain at high light intensity 2018-02-09 14:08:01 +02:00
tree-ALS-shadow.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
tree-ALS.frag ALS: do not clamp haze color in object shaders, this leads to mismatch with terrain at high light intensity 2018-02-09 14:08:01 +02:00
tree-ALS.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
tree.frag Standardized fog 2011-12-01 20:52:59 +00:00
tree.vert Speculative fix for shader cast issue on Mac. 2013-05-31 19:50:57 +01:00
trivial.frag Add missing shader version tags for the other shaders too 2016-08-03 09:59:29 +02:00
trivial.vert Procedural Texturing 2012-08-07 09:01:14 +02:00
trivial_transparent.frag Atmospheric Light Scattering update 2012-12-05 20:31:27 +00:00
ubershader-gbuffer.frag Environment/interpolator.xml: create copies of tied properties used by the ubershader reflection rotation. 2015-05-25 16:29:56 +02:00
ubershader.frag Environment/interpolator.xml: create copies of tied properties used by the ubershader reflection rotation. 2015-05-25 16:29:56 +02:00
ubershader.vert Removal of the unused executable bit from the affected Shaders files. 2015-04-29 17:45:52 +02:00
urban-ALS.frag Run urban shader in lightmap-only mode when either random or OMS buildings are enabled 2017-02-23 10:13:22 +02:00
urban-ALS.vert ALS urban shader development, minor fixes 2016-08-08 09:19:22 +03:00
urban-gbuffer.frag Improved Random building texturesa - Gabo Huerta 2013-12-28 20:36:49 +00:00
urban-gbuffer.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
urban.frag Run urban shader in lightmap-only mode when either random or OMS buildings are enabled 2017-02-23 10:13:22 +02:00
urban.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
wake-ALS.vert ALS maintenance - reworked light curves, streamlining, minor bugfixes,... 2014-12-15 15:50:47 +02:00
wake.vert Optimisation and tidying 2012-05-07 19:11:34 +01:00
water-ALS-base.frag Enable filtering for ALS lower quality terrain, water and model shaders 2016-03-27 20:27:32 +03:00
water-ALS-high.frag ALS: rotor wash effect for volumetric grass and water shaders 2017-06-27 11:01:23 +03:00
water-ALS.vert ALS maintenance - reworked light curves, streamlining, minor bugfixes,... 2014-12-15 15:50:47 +02:00
water-gbuffer.frag Restore the foam to the Rembrandt water shader 2012-10-06 14:14:27 +03:00
water-gbuffer.vert Sea colour effect by Emilian Huminiuc 2013-11-03 18:41:16 +00:00
water-inland.frag SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
water-orig.frag SHADERS:fix "unified" fog function. 2012-02-14 18:39:58 +02:00
water-orig.vert Add an appropriate version number to all vertex shaders 2016-08-05 13:16:23 +02:00
water.frag Cleanup some implicit casts 2012-07-31 21:40:15 +03:00
water.vert Sea colour effect by Emilian Huminiuc 2013-11-03 18:41:16 +00:00
water_sine-gbuffer.frag Sea colour effect by Emilian Huminiuc 2013-11-03 18:41:16 +00:00
water_sine.frag Sea colour effect by Emilian Huminiuc 2013-11-03 18:41:16 +00:00