Benjamin Doherty
1035e442ee
Bump version to 1.16.1
2022-01-10 10:47:46 -08:00
Benjamin Doherty
a1a3adf8af
Release Filament 1.16.0
2022-01-10 10:43:35 -08:00
Ben Doherty
620a693c11
FilamentApp: use PrtScn key to capture debug frame ( #5032 )
2022-01-10 10:28:34 -08:00
jeanlemotan
4511af6f9e
Removed code duplication, better style.
2022-01-08 06:17:56 -08:00
jeanlemotan
214e54f2ad
Make sure the width/height don't reach zero.
2022-01-08 06:17:56 -08:00
jeanlemotan
2eefbe11ae
Fixed cubemap update
2022-01-08 06:17:56 -08:00
Mathias Agopian
74ea3d50c2
Make sure to object are aligned properly when allocated in the renderstream
...
fix #4991
2022-01-07 10:49:12 -08:00
jeanlemotan
9a8159ab04
Fixed compiler warning (int -> float conversion)
2022-01-07 10:17:04 -08:00
Ben Doherty
2f3aac29da
Enable GL_ARB_shading_language_packing in vertex shaders ( #5022 )
2022-01-06 13:17:31 -08:00
jeanlemotan
9d7f5f593e
Added line/triangle strip support ( #5017 )
...
* Added line/triangle strip support
* Added strip support for Java and JS
Changed README to indicate strip support for gltf
2022-01-06 13:07:32 -08:00
Ben Doherty
2596273a94
Avoid calling std::string(nullptr) in MockConfig.cpp ( #5019 )
2022-01-06 10:52:01 -08:00
Benjamin Doherty
210a8c2260
Update Renderer comment
2022-01-06 10:47:54 -08:00
Benjamin Doherty
eaefaf8e59
Release Filament 1.15.2
2022-01-04 11:52:31 -08:00
Ben Doherty
7873e6f5aa
Metal: clamp readPixels width and height to texture dimensions ( #4994 )
2021-12-28 10:27:11 -07:00
abwood
251abf0545
Add support for the glTF extension KHR_materials_emissive_strength ( #4975 )
2021-12-23 01:32:45 -08:00
Mathias Agopian
b5c4b30ff6
Fix a double release with Android bitmaps callbacks
...
The version of Texture::setBitmap() that tool an Android bitmap handled
callbacks differently and in certain case caused a "double release" of
the callback object. This didn't actually cause problems though.
We now use the same mechanism used elsewhere (i.e. JniCallback).
2021-12-15 09:18:23 -08:00
Mathias Agopian
eb941a0868
Make normal skinning more efficient
...
With this change the cofactor matrix is partially precomputed on the
CPU side.
2021-12-14 10:00:10 -08:00
Mathias Agopian
304ffe0049
Fix skinning calculations
...
it was incorrect to store bone matrices as quaternions because it is
allowed for these matrices to have a skew component.
We now store the 4x4 matrix -- which is the same amount of data as
before, however we compute the cofactor matrix in the vertex shader when
transforming normals.
fixes #4887
2021-12-14 10:00:10 -08:00
Mathias Agopian
88edbc7df8
Fix a java global reference leak
...
We were acquiring a reference twice by accident.
Fix #4957
2021-12-13 15:16:48 -08:00
Mathias Agopian
6fa82ea73d
Fix typo when setting cubemap faces mip levels.
2021-12-13 15:16:33 -08:00
Mathias Agopian
92e7ff3de7
fix debug checks for compressed textures
...
Fixes #4941
2021-12-13 15:16:33 -08:00
Romain Guy
2739eb146a
Fix rounding math
2021-12-13 10:54:31 -08:00
Romain Guy
59ccc3021f
Add missing JNI impl ( #4959 )
2021-12-13 10:52:47 -08:00
Romain Guy
36e9fa42f4
Fix preprocessor test
2021-12-13 10:42:07 -08:00
Benjamin Doherty
8111c50a5a
Release Filament 1.15.1
2021-12-13 11:06:12 -07:00
Romain Guy
0e5e7e940c
Fix typo in JNI binding
2021-12-10 08:35:16 -08:00
Ben Doherty
9f75d34bb8
Rework color history in preparation for SSR ( #4932 )
2021-12-08 13:35:54 -08:00
Mathias Agopian
df42213daf
update remote ui
2021-12-08 00:25:25 -06:00
Mathias Agopian
b73caceb1f
fix libibl on mobile
...
- the hammersley sequence was completely wrong because of a missing
highp precision qualifier
- roughness 0 was also wrong because of divide-by-0
Fixes #4668
2021-12-08 00:17:29 -06:00
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