Fernando García Liñán
8662ce0a86
HDR: Add SMAA as the default antialiasing technique
2021-08-23 01:05:41 +02:00
Fernando García Liñán
212f8fdab9
HDR: Add support for glTF transparent objects
2021-08-19 01:42:32 +02:00
Fernando García Liñán
f5bc6df9fb
HDR: Use a reversed depth buffer to increase precision and avoid Z-fighting
2021-08-17 20:58:48 +02:00
Fernando García Liñán
f16372ac7e
HDR: Add property to show debug views of the GBuffer
2021-08-16 21:51:37 +02:00
Fernando García Liñán
4d34115177
HDR: Increase maximum distance of aerial perspective
2021-07-31 19:13:19 +02:00
Fernando García Liñán
526491790e
HDR: Improve envmap pre-filtering
2021-07-31 19:13:19 +02:00
Fernando García Liñán
871654c16f
HDR: Better handling of the Sun
...
Add transmittance to the Sun illuminance value to get correct colors at every time of day.
Also improved the Sun disk rendering.
2021-07-31 19:13:19 +02:00
Fernando García Liñán
af29642423
HDR: miscellaneous changes
...
- Add an utility linearizeDepth function to help visualize the depth buffer for debug purposes.
- Use 'color0' instead of 'color' for all color attachments.
- Do not write to the HDR buffer if a fragment doesn't need shading (depth = 1).
2021-07-29 08:45:17 +02:00
Fernando García Liñán
9b9ae5cf38
HDR pipeline: even better atmospheric scattering
...
Implementation of "A Scalable and Production Ready Sky and Atmosphere Rendering Technique" by Sébastien Hillaire (2020).
2021-07-28 09:40:04 +02:00
Fernando García Liñán
016585e176
HDR pipeline: Use MRT to prefilter the environment map
2021-07-26 17:21:20 +02:00
Fernando García Liñán
873ae6b3d5
Add clear masks to all compositor passes
2021-07-26 17:21:20 +02:00
Fernando García Liñán
9eaef501c7
HDR pipeline: a lot of improvements to atmospheric scattering
2021-07-26 12:11:37 +02:00
Fernando García Liñán
784c89dd61
HDR pipeline: do not use the r11g11b10f format
...
Not every GPU supports it under a compatibility context. This is an optimization to reduce bandwidth anyway, so we should be fine using rgb16f for now.
2021-07-24 07:04:39 +02:00
Fernando García Liñán
96313e7eb0
Initial commit of the HDR pipeline
2021-07-23 07:46:05 +02:00