Commit graph

11 commits

Author SHA1 Message Date
Moritz Brückner ca96174b6b Fix nishita sky artifacts on some GPUs
It could happen that values returned by dot() were slightly larger than 1 or less than -1 due to precision errors, but acos() is undefined outside of [-1, 1]. This would lead to NaN values on some GPUs, causing visible artifacts.
2021-08-14 23:45:33 +02:00
onelsonic a89e3923e7
Update math.glsl
fixing the float
2020-12-16 18:57:25 +01:00
luboslenco 25ae41f9c3 Cleanup 2018-12-09 19:27:11 +01:00
luboslenco 850dade8a5 Merge clustered rendeder - wip, unstable 2018-11-22 11:08:03 +01:00
Lubos Lenco d2944f83fa Precompute camera plane values 2017-11-04 18:35:34 +01:00
Lubos Lenco d8d33f32e1 Z multiplier for voxel res 2017-10-23 01:55:47 +02:00
Lubos Lenco 9307f57779 More GPU particles 2017-09-28 00:48:57 +02:00
luboslenco 0a51699aff VGI work 2017-02-22 15:50:19 +01:00
luboslenco c6afed1507 Light falloff 2017-02-22 12:10:53 +01:00
Lubos Lenco 016dc01e5f Fix bloom and dof. 2016-10-21 19:36:08 +02:00
Lubos Lenco 9edb0b0fa9 Shaders overhaul. 2016-10-17 17:39:40 +02:00