1
0
Fork 0
Commit graph

31 commits

Author SHA1 Message Date
Fahim Imaduddin Dalvi
f3b455b699 Bugfix: Terrain quality taken into account in model shaders.
Objects like OSM buildings using the `model-combined` effect ignored
the Terrain quality. Rayleigh Fog is computed for the terrain only
at "Ultra" level, but was computed for models at all quality levels,
which led to a visual disparity. The shader now takes into account
the terrain quality before computing rayleigh fog for objects.
The `road` effect also had the same issue and is fixed now.
2022-04-02 21:20:20 +03:00
Fernando García Liñán
4099044b65 Fix incorrect lightmap intensity with lightmap-multi=0 2021-04-15 11:12:07 +02:00
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
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
1407ff3166 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
Nikolai V. Chr
a206b3cb51 Change to the up vector used in sky irradiance light in ALS shader.
Models that are xml offset with pitch, heading or yaw should now be correct lighted.
2017-10-10 17:58:32 +02:00
Thorsten Renk
746e80547e ALS - begin infrastructure for moonlight perception filtering 2017-06-18 10:08:39 +03: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
0eff76715e Tentative fix for ALS cloud shadows leaking upward above cloud layer 2017-05-13 13:04:04 +03:00
Thorsten Renk
5f5440be81 Correction to the reflection behavior of the ALS model shader suggested by Heiko Schulz 2017-02-24 08:51:28 +02:00
Thorsten Renk
320eab688f Discard approximate HV solution in ALS model shader 2016-12-11 17:30:33 +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
c859fe7f89 Switch ALS model shaders to light addition in intensity space rather than perception space 2016-08-14 09:21:18 +03:00
Thorsten Renk
d1673bef6d Check surface normal when computing rain effect 2016-08-08 09:40:21 +03:00
Thorsten Renk
379dd17b3d ALS maintenance: bugfix for cloud impostors, 'inverse' Mie for cloud shader, glare for translucent objects proportional to 1-alpha rather than on-off 2016-06-12 15:22:11 +03: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
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
278b311511 Removal of the unused executable bit from the affected Shaders files. 2015-04-29 17:45:52 +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
Thorsten Renk
2c0513816c ALS maintenance - reworked light curves, streamlining, minor bugfixes,... 2014-12-15 15:50:47 +02:00
Thorsten Renk
f2c81c9dcb ALS maintenance, haze color balance at low light improved and dependent on air pollution 2014-12-11 13:02:40 +02:00
Thorsten Renk
fddf1edc54 Rayleigh effect reworked with fog illumination as proxy for scene light, small bugfixes 2014-12-03 13:50:05 +02: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
37faf4a9d0 Bugfix for ALS model shader not displaying lightmap at full darkness beyond some distance 2014-10-22 09:22:06 +03:00
Thorsten Renk
20dda77d6f ALS secondary lights and Rayleigh haze for model ubershader and random buildings 2014-10-11 16:12:19 +03:00
Renamed from Shaders/ubershader-lightfield.frag (Browse further)