Mathias Agopian
c91f28b6be
fix remote UI when dropping a new .hdr ibl file
...
- the ibl wasn't updated in internal structures
- the previous ibl was leaked
2021-12-08 00:17:29 -06:00
Mathias Agopian
078de4e422
Add support for basic PCSS
2021-12-08 00:17:12 -06:00
Romain Guy
332d5681e6
Update dependencies
2021-12-07 09:34:28 -08:00
Romain Guy
de1281dd9f
Be more specific about anisotropyDirection
2021-12-06 15:37:41 -08:00
Benjamin Doherty
f3849a1f57
Update web docs for 1.15.0
2021-12-06 12:59:23 -08:00
Mathias Agopian
3fd63b1b3d
use the correct normal when calculating spotlight bias
...
`vertex_worldNormal` should never be used directly, for one thing it's
not guaranteed to be normalized.
2021-12-06 14:11:45 -06:00
Benjamin Doherty
3a33220dad
Release Filament 1.15.0
2021-12-06 11:12:58 -08:00
Mathias Agopian
09a9deafc0
Fade lights out when close to light far plane
...
the fade takes place over 10% of the light far distance.
2021-12-06 11:45:15 -06:00
Mathias Agopian
4de3470de5
remove 'exponent' from VsmShadowOptions
...
this is an internal parameter and has no reason to be user settable.
2021-12-03 14:45:59 -06:00
Romain Guy
f03d654862
Update README.md
2021-12-03 09:28:02 -08:00
Mathias Agopian
b8a39c2f3d
disable workaround on recent adreno drivers
...
A workaround for the tile load/store is no longer needed on recent
version of the GLES3.x drivers on qualcomm SoC.
2021-12-03 11:25:38 -06:00
Romain Guy
291b5dcec5
Update README.md
2021-12-02 23:36:57 -08:00
Mathias Agopian
087f29c6c9
Added support for DPCF
2021-12-03 01:20:50 -06:00
Mathias Agopian
aac3ac579c
add global temporal noise uniform when TAA is enabled
...
this can be used to easily add temporal noise to "things" when
TAA is also enabled.
2021-12-03 01:20:50 -06:00
Romain Guy
c275f61aeb
Add missing destroy method ( #4921 )
2021-12-02 08:53:55 -08:00
MasTraER
f297948216
Expose Engine::destroy(SkinningBuffer*) ( #4919 )
2021-12-02 08:41:10 -08:00
Ben Doherty
dbe1386785
Fix live wallpaper sample with Android 12+ ( #4917 )
2021-12-01 12:29:11 -08:00
Joel Winarske
687f4aff13
Flags to support embedded Linux ( #4911 )
...
- FILAMENT_SKIP_SDL2=ON is used to skip dependencies of sdl2 and sdl2 CMake
- FILAMENT_LINUX_IS_MOBILE is used for Mobile build
Signed-off-by: Joel Winarske <joel.winarske@gmail.com >
2021-12-01 08:31:06 -08:00
Romain Guy
dd4853bcc5
Replace ANDROID with __ANDROID__ ( #4909 )
...
__ANDROID__ is always set by the toolchain and less likely to cause
conflicts than ANDROID. This change also removes the -DANDROID flag
we set ourselves in our toolchain CMake files since we don't need
it anymore.
2021-11-30 16:27:56 -08:00
Benjamin Doherty
ffbfc13530
Fix RELEASE_NOTES
2021-11-30 15:52:17 -08:00
Ben Doherty
2aa160a98c
Fix release build crash in gltf_viewer ( #4908 )
2021-11-30 12:29:45 -08:00
Ben Doherty
477a3a8771
Pin web docs Filament version ( #4907 )
2021-11-30 12:05:40 -08:00
Romain Guy
c0e8686297
Use __ANDROID__ instead of ANDROID
2021-11-30 11:14:35 -08:00
Romain Guy
01f18caf53
Workaround for a build system issue
2021-11-30 10:05:32 -08:00
Joel Winarske
56971520a2
Fix typo and remove extraneous return
...
Signed-off-by: Joel Winarske <joel.winarske@gmail.com >
2021-11-30 11:18:57 -06:00
Joel Winarske
f5e38b1198
Requested changes
...
- remove const
- remove egl references in wayland struct
Signed-off-by: Joel Winarske <joel.winarske@gmail.com >
2021-11-30 11:18:57 -06:00
Joel Winarske
984ef2a089
Remove un-implemented test case
...
Signed-off-by: Joel Winarske <joel.winarske@gmail.com >
2021-11-30 11:18:57 -06:00
Joel Winarske
ad960c73b6
Remove traces of Wayland EGL
...
Signed-off-by: Joel Winarske <joel.winarske@gmail.com >
2021-11-30 11:18:57 -06:00
Joel Winarske
0dcc631aa8
Backout Wayland EGL backend
...
Signed-off-by: Joel Winarske <joel.winarske@gmail.com >
2021-11-30 11:18:57 -06:00
Joel Winarske
af9b670cfd
Wayland
2021-11-30 11:18:57 -06:00
Benjamin Doherty
519ae4d143
Release Filament 1.14.2
2021-11-29 14:05:55 -08:00
Mathias Agopian
8d72869437
Fix spotlight normal bias calculation ( #4844 )
...
The calculation was completely wrong due to several typos more or less
canceling each other, that led to some misunderstanding!
2021-11-29 14:05:40 -08:00
Romain Guy
2cbacb532a
Cache calls to Enum.values() ( #4902 )
...
Each call to .values() allocates a new array. Let's cache them once
and for all to avoid unncessary allocations.
2021-11-29 11:35:58 -08:00
Romain Guy
1da2bf2f7a
Update WebGl demos
2021-11-29 11:29:22 -08:00
Ben Doherty
802bc7a5dc
Fix, avoid divide-by-zero inside makeBone ( #4889 )
2021-11-24 16:28:44 -08:00
Romain Guy
8875806c5d
Use locale-independent string->float conversion ( #4885 )
...
* Use locale-independent string->float conversion
strtof and friends are locale aware and won't parse decimal numbers
with a period ("12.6" for instance) in locales that use another
character for the decimal period ("," in French for instance).
This change introduces a new function called strtof_c that forces
the use of a specific locale (called "C") to make sure we always
parse floats in the desired "C" format ("12.6").
With C++17 we should be able to use std::from_chars but this API
is not implemented in clang for floats at the moment.
* Fix Linux
2021-11-23 12:32:54 -08:00
Benjamin Doherty
c9df807f1f
Update backend-test project with filamat dependency
2021-11-23 12:14:05 -08:00
Ben Doherty
3feef4e84b
Fix Metal depth comparison initialization ( #4886 )
2021-11-23 12:00:58 -08:00
Benjamin Doherty
15001524bd
Release Filament 1.14.1
2021-11-22 10:10:35 -08:00
Romain Guy
c1713e7501
Export activities on Android 12+
2021-11-22 09:25:13 -08:00
Romain Guy
0181584735
Update build tools ( #4866 )
...
* Update build tools
SDK API level 31
NDK 23
Kotlin 1.6
* Preserve tool suffix for Windows
2021-11-17 13:19:45 -08:00
Ben Doherty
df06e8dc41
Fix material compilation error with device vertex domain ( #4865 )
...
A recent refactor was causing the following error when the vertex domain
was set to `device`:
```
ERROR: main.vs:23: 'material' : undeclared identifier
ERROR: main.vs:23: 'materialVertex' : no matching overloaded function found
```
2021-11-17 12:04:41 -08:00
Ben Doherty
b0ce077ace
Android: re-enable VSM cascade fix ( #4863 )
2021-11-17 10:14:47 -08:00
Ben Doherty
9d29d2e32c
Update spirv-tools to v2021.4 ( #4862 )
2021-11-16 17:13:42 -08:00
Ben Doherty
a29b438161
Update glslang to eb92526 ( #4861 )
2021-11-16 13:26:58 -08:00
Ben Doherty
50a042bb16
Metal: fix validation error when rendering to RT without depth ( #4860 )
2021-11-16 11:50:23 -08:00
Benjamin Doherty
f690015a88
Release Filament 1.14.0
2021-11-15 10:06:45 -08:00
Ben Doherty
342deb5a64
speed up under ThreadSanitizer ( #4842 )
2021-11-12 09:52:58 -08:00
Mathias Agopian
fdc480ff6e
Gaussian blur is now applied only on the needed channels
...
The gaussian blur code was always processing 3 channels no matter the
source or destination. We now have 4 versions for all possible cases.
2021-11-11 23:35:10 -08:00
Mathias Agopian
378b7cd4dd
rearrange EVSM code to make it easy to test full EVSM
...
We're currently only using the positive layer of EVSM which works
work small blurs and anti-aliasing. This just rearranges the code to
make it easy to test the full formulation.
2021-11-11 23:35:10 -08:00