Fernando García Liñán
916322d0ed
Add clustered shading support to most Effects and shaders
2020-12-23 11:10:34 +01:00
Fernando García Liñán
7158dfdff3
Revert "Add clustered shading support to most Effects and shaders"
...
This reverts commit b3237e207a
.
2020-12-22 17:22:05 +01:00
Fernando García Liñán
b3237e207a
Add clustered shading support to most Effects and shaders
2020-12-22 10:53:31 +01:00
Fernando García Liñán
d35c160a50
Add a dummy technique with index 7 to model-combined
...
This keeps backwards compatibility with aircraft that implement technique 7 from Rembrandt.
2020-11-17 00:15:09 +01:00
Fernando García Liñán
a3a8f9123e
Make Compositor default
...
- Remove all Compositor Effects and Shaders.
- Unify the low-spec and ALS pipelines in a single pipeline called 'Classic'.
- Readd shadow mapping.
- Move the WS30 Effect and fragment shader out of the Compositor-specific directories.
2020-11-16 13:46:30 +01:00
Thorsten Renk
69e8d90247
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
Thorsten Renk
79244fd5e4
ALS model shader: allow dirt overlay to change surface reflectivity, add grain merge reflection type to space shader
2017-06-18 09:35:32 +03:00
Thorsten Renk
a7b916a244
ALS model effect accepts a snow flag to let OSM building roofs be snow-covered in winter
2017-06-03 18:01:02 +03:00
Thorsten Renk
662d782f98
Groundwork for ALS g-force blackout filter, WIP
2017-03-03 19:50:13 +02:00
Thorsten Renk
950fc0ab22
Additions to ALS model shader suggested and partially implemented by Heiko Schulz: alternative reflection coloring model, Fresnel effect and normal map distortion of environment reflections in an efficient approximation
2016-11-17 19:01:46 +02:00
Thorsten Renk
cbc851d415
Extend ALS flitering to more effects
2016-03-18 09:32:34 +02:00
Thorsten Renk
8bf55eec3c
More work on ALS filter code - noise and vignette for night vision, IR vision work
2016-03-17 14:40:37 +02:00
Thorsten Renk
def0ee20d4
Vertical offset for ALS landing lights by Wayne Bragg
2015-10-22 12:06:12 +03:00
Thorsten Renk
b45611c4f1
Tweaks to high quality space shader
2015-08-28 10:13:29 +03:00
Emilian Huminiuc
52887ad7c3
Environment/interpolator.xml: create copies of tied properties used by the ubershader reflection rotation.
...
Effects/model-combined.eff: use copies instead of tied properties Shaders/ubershader: fix reflection rotation for dynamic reflections.
2015-05-25 16:29:56 +02:00
Emilian Huminiuc
9d7b575a45
Revert Shaders/model-ALS-ultra.frag (ALS ubershader) changes made necessary by the last commit.
...
Add ALS specific vertex shader for ubershader.vert and buildings-ubershader.vert named model-ALS-ultra.vert and buildings-model-ALS-ultra.vert respectively. This partly reverts 3dc0e641c1
. Aircraft modelers and other consumers need not take any action.
2015-05-14 14:56:04 +02:00
Edward d'Auvergne
39d86a06ea
Removal of the unused executable bit from the affected Effects files.
2015-04-29 17:40:43 +02:00
Emilian Huminiuc
3dc0e641c1
Rewrite ubershader reflection. Objects using the dynamic option will now display the reflection properly when affected by a spin/rotate animation. Improved appearance of reflection + normalmap. Normalmap support added to random-buildings when ubershader active.
...
Also fixes some bugs exposed on AMD GPUs
2015-03-29 13:49:36 +02:00
Clément de l'Hamaide
f6f433529f
Revert "UniformFactory: merge current uniform per <name> of effect"
...
Talking with Emilian about this commit, we came to the conclusion we don't want share uniform between .eff file
This reverts commit 91a6a27f32ee5f79e1d7e0d4570e879a902de58f.
2014-11-16 22:09:41 +01:00
Clément de l'Hamaide
95640a1b6f
UniformFactory: merge current uniform per <name> of effect
2014-11-16 20:21:20 +01:00
Thorsten Renk
fc85e049c9
Real geometry mapped grain overlay and wetness/rain simulation for ALS model shader, Vinson flightdeck as example
2014-11-08 10:42:42 +02:00
Thorsten Renk
20dda77d6f
ALS secondary lights and Rayleigh haze for model ubershader and random buildings
2014-10-11 16:12:19 +03:00
Thorsten Renk
a05863e541
Cloud shadows for urban effect/random buildings
2014-03-11 11:53:57 +02:00
Emilian Huminiuc
745874315b
Tentative fix for random buildings red flickering in some cases
2014-02-23 13:12:35 +01:00
Emilian Huminiuc
7f183e0117
Remove intermediate quality settings from the ubershader. Fix a texture.
2014-01-15 23:30:03 +01:00
Clément de l'Hamaide
cad2dc9e06
Fix missing elements in texture declaration in effects files. Fixes bug #1267
2013-11-18 03:17:58 +01:00
Vivian Meazza
646a74f915
Consolidate Fresnel and Rainbow look-up textures. Re-instate Rainbow effect in ALS shader.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-04-26 20:18:41 +01:00
Thorsten Renk
f62550e115
Optional overlay texture for models
2013-04-22 11:32:28 +03:00
Thorsten Renk
9c95d09f60
Model ubershader for Atmospheric Light Scattering
2013-01-31 14:15:18 +02:00
Emilian Huminiuc
72c876aec6
Ubershader fixes
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2013-01-17 11:32:00 +02:00
Emilian Huminiuc
b650a0eb51
Make sure shaders are disabled as long as /sim/rendering/shaders/quality-level is 0 or non existing.
...
This should help those checking out models in fgviewer
To enable effects in fgviewer run it with:
fgviewer --prop /sim/rendering/shaders/quality-level -1
Also fix random buildings not showing up when model shader was set to 0 and generic was enabled.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-11-18 00:39:02 +02:00
Emilian Huminiuc
efe52f4bf9
ubershader: fix reflection under Rembrandt
...
model-combined & model-combined-deferred effects: improve Rembrandt behaviour, and provide better effects for transparent
surfaces under Rembrandt.
This change breaks current effects using normalmaps when inheriting from model-combined-deferred under
Rembrandt.
Aircraft developers please change the technique numbers in the "normalmap include" part of your effects file from
<technique n="8"> to <technique n="7"> (again, only if inheriting from model-combined-deferred, and using normalmaps)
Effects inheriting from model-combined do not neeed any adaptation.
Sorry for the nuisance caused by this change.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 13:54:07 +03:00
Emilian Huminiuc
bd32fb99cf
remove GL_EXT_gpu_shader4 dependency
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-07-13 20:58:02 +03:00
Frederic Bouvier
5cfca250b1
rename /sim/rendering/rembrandt -> /sim/rendering/rembrandt/enabled
...
and put rembrandt-related properties in /sim/rendering/rembrandt/
2012-05-12 09:20:04 +02:00
Emilian Huminiuc
feb30c83b5
fix ubershader lighting in Rembrandt
...
IAR80: remove range animations for now
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-04-01 20:24:49 +03:00
Emilian Huminiuc
edb789a684
Effects/model-combined fix missing porperty check in Rembrandt case, fix shader order
...
IAR80: use the new model-combined-deferred
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-03-31 17:18:28 +03:00
Emilian Huminiuc
d43770ab58
Effects/model-default.eff move skydome to technique 5 to provide more headroom
...
Effects/model-combined.eff fix techniques numbering. Make active under rembrandt too. add model-combined-deferred as a stub for now for specific
Rembrandt use.
Users of model-combined with normalmaps should change the technique number to 9, and duplicate that entry for technique 8.
Fix some longstanding png warnings. Provide null_reflectdir.png for model-combined
This should fix part of bug #726
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-03-31 15:00:36 +03:00
Frederic Bouvier
c4390ae31a
Change default effects attached to terrain and models
...
Add a technique that initialize the buffers of the Rembrandt renderer
(use Multi Render Target)
Renumber techniques that depends on old technique 10 (now 11) of model-default
2012-03-25 19:03:52 +02:00
Emilian Huminiuc
4df2af2cef
SHADERS:fix "unified" fog function.
...
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-02-14 18:39:58 +02:00
James Turner
37a964ec92
Re-arrange effects using texture units >= 8 down to unused lower-numbered units. Especially move the noise texture down to the first available slot.
2012-01-11 23:22:44 +00:00
Vivian Meazza
609a3a196d
Bugfix - prevent emissive dirt
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-24 15:47:09 +00:00
Vivian Meazza
cfb86efb84
Add 2 more dirt channels - "green" and "blue"
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-17 17:07:41 +00:00
Emilian Huminiuc
56a253a74a
remove hardcoded quality
2011-12-15 14:27:35 +01:00
Gijs de Rooy
6c971211b8
Quality slider overwrites custom shader settings. All effects now listen to the new sim/rendering/shaders/<foo> properties.
2011-12-12 17:04:36 +01:00
Vivian Meazza
4b3f55a5d5
Exchange - for _. Use updated shader
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-10 09:42:48 +00:00
Vivian Meazza
3b9bea6609
Make default renderbin 0
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-04 17:42:07 +00:00
Vivian Meazza
17c1f39137
New effects
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-01 21:40:57 +00:00