Commit Graph

2523 Commits

Author SHA1 Message Date
Romain Guy
e6500a8b3b Update web docs 2020-03-31 18:07:40 -07:00
Romain Guy
db6636aff8 Preserve dependency version 2020-03-31 17:39:21 -07:00
Romain Guy
ef35654ce9 Update to v1.5.1 2020-03-31 16:06:44 -07:00
Pixelflinger
4248eb148e fix uninitialized variable which could cause clearing errors 2020-03-31 15:31:54 -07:00
Pixelflinger
73c2a87444 fix a clearing bug with imported rendertargets
the view clear flags would not be honored when rendering directly
into an imported render target.

note: now that this works this could cause an issue when using
multiple views side-by-side and one of them doesn't have a skybox,
that view will trigger a clear of the whole buffer (because clears
clear everything, not just the viewport).
A solution will come in a later PR.

Fixes #2312
2020-03-31 15:31:38 -07:00
Philip Rideout
55d0063ced Fix "no texture bound" warnings in WebGL. 2020-03-31 15:20:18 -07:00
Ben Doherty
ca70489556 Add a material parser presubmit check (#2313) 2020-03-31 15:04:01 -07:00
Philip Rideout
8d817ac787 ShadowMap: Fix potentially wrong EntityManager. 2020-03-31 14:39:09 -07:00
Romain Guy
9a550d69b8 Fix Github actions 2020-03-31 09:33:28 -07:00
Romain Guy
07d6aebafc Update release action v1.5.0 2020-03-30 21:48:41 -07:00
Romain Guy
32604e2c57 Fix sample-textured-object 2020-03-30 18:54:46 -07:00
Romain Guy
adb107afc2 Fix sample-gltf-viewer 2020-03-30 18:53:14 -07:00
Romain Guy
8d9bd5f4fa Fix flavor dependencies, introduce flavors for filament-utils 2020-03-30 18:28:18 -07:00
Ben Doherty
c88bbc21d0 Link hello-gltf iOS project with Draco (#2311) 2020-03-30 17:11:49 -07:00
Romain Guy
917edec0a7 Update RELEASE_NOTES.md 2020-03-30 16:22:45 -07:00
Philip Rideout
34959dd5e8 New version number for release notes, npm, maven. 2020-03-30 16:19:37 -07:00
Ben Doherty
82ab74efb0 Update RELEASE_NOTES and LightManager documentation for spot shadows (#2310) 2020-03-30 16:14:07 -07:00
Pixelflinger
968dbdb847 make sure "structure" pass is culled when not needed
the structure (depth path) wasn't culled even if both ssao and
contact-shadows were disabled.
2020-03-30 16:13:41 -07:00
Philip Rideout
e43466d2bc Enable Draco for WebGL and iOS. 2020-03-30 15:58:55 -07:00
Philip Rideout
cdf03f91c9 Apply Draco compression to FlightHelmet. 2020-03-30 15:58:55 -07:00
Philip Rideout
abe70caeae Bump material version to prep for release. 2020-03-30 15:58:35 -07:00
Philip Rideout
4891bb6157 Fix SameSite warning for locally run web samples. 2020-03-30 15:58:24 -07:00
Ben Doherty
f5e6ec42b3 Fix draco build with Xcode (#2306) 2020-03-30 15:06:53 -07:00
Romain Guy
92b2dd835d Add support for bent normals (#2303)
* Add support for bent normals

Bent normals can be enabled via the bentNormal property of a material.
When specular occlusion is enabled, bent normals improve the quality
of the computation.

* Save a couple of multiplications in bent specular AO
2020-03-29 17:00:03 -07:00
Philip Rideout
76f0309b58 Remove unused Draco targets from build. 2020-03-27 17:07:55 -07:00
Philip Rideout
d9e9fabec5 Disable unused Draco features. 2020-03-27 16:32:44 -07:00
Philip Rideout
a922e914b4 Enable Draco for Android. 2020-03-27 16:32:44 -07:00
Philip Rideout
4b7677fd13 Apply Draco compression to BusterDrone. 2020-03-27 16:32:44 -07:00
Ben Doherty
0474a6b8b5 Try to fix Windows build by reducing disk space footprint (#2301) 2020-03-27 16:05:50 -07:00
Philip Rideout
241f08bd74 Draco: do not add files to the build root. 2020-03-27 13:59:41 -07:00
Ben Doherty
b8f8067a87 Support lights in gltfio (#2288) 2020-03-27 13:56:28 -07:00
Pixelflinger
965777da85 fix an assert() when using custom render targets
we now always mask out target bits that don't exist in the render
target before converting them to GLenums.

Fixes #2285
2020-03-27 13:45:54 -07:00
Romain Guy
ffa62d4236 Check for CMake version before setting the policy 2020-03-27 11:50:21 -07:00
Romain Guy
94a01c6010 Be compatible with CMake 3.10 again (#2296)
* Be compatible with CMake 3.10 again

* Windows fix

* Add CMake changes to patch file
2020-03-27 11:15:18 -07:00
Romain Guy
232bf728c6 Update readme for Windows 2020-03-27 09:31:50 -07:00
Romain Guy
0e367580da Update CMake requirement to 3.12 2020-03-27 09:25:23 -07:00
Romain Guy
40aad197da Fixes various issues (#2292)
* Fixes various issues

- Fix gltf_baker crash
- Fix Python3 discovery on macOS
- Fix TBB CMake warning
- Fix bent normals baking

* Find Python 3 on Windows
2020-03-26 22:53:44 -07:00
Kai Chieh Liu (KJ) 劉凱傑
124fd2c978 Fix NameComponentManager dependency and Android build (#2291) 2020-03-26 20:02:03 -07:00
Philip Rideout
0d32c58e41 gltfio: add support for Draco (desktop only)
This needs a bit more testing before merging, but I wanted to put up the
PR for review. I will look into supporting Android after we land this.

Fixes #1932.
2020-03-26 19:52:26 -07:00
Romain Guy
09fa87ddfa Update README.md 2020-03-26 16:58:51 -07:00
Pixelflinger
cb356606d9 fog improvements
- handle heightFalloff=0 (i.e. fog doesn't depend on height) correctly,
  previously, a divide-by-zero on the cpu side would get in the way.
  The fix is to clamp heightFalloff to a small-enough value, and to
  make sure that this is handled correctly in the shader.

- default fog distance is 0 instead of 1m

- inScatteringSize parameter should be allowed to be large in samples
2020-03-26 16:01:56 -07:00
Kai Chieh Liu (KJ) 劉凱傑
3de9cc1533 Expose Renderable::getLayerMask() (#2289)
TEST: built on mac

Co-authored-by: KJ Liu <kjliu@amazon.com>
2020-03-26 15:31:38 -07:00
Ben Doherty
f1aaf16082 Add spot light controls to material_sandbox (#2270) 2020-03-26 13:29:39 -07:00
Kai Chieh Liu (KJ) 劉凱傑
4c23f7a436 Fix cmakelist to install subdir properly (#2283) 2020-03-25 18:20:24 -07:00
Pixelflinger
2188923153 Fix fog with transparent objects 2020-03-25 17:10:36 -07:00
Romain Guy
2f47bab237 Update README screenshots 2020-03-25 14:23:36 -07:00
prewettg
fe547a7690 Fixes resizing window not resizing the framebuffer on macOS (#2281) 2020-03-25 14:03:49 -07:00
Pixelflinger
b4f5a4a0a0 Fog improvements
- optimized the fog computations
- fixed issues with the skybox
- added the option of getting the fog color modulated by the IBL envmap
2020-03-24 22:29:25 -07:00
Pixelflinger
5929d5d9dd improve quality of diffuse sampling on desktop
We 4-tap filter the diffuse map, which generally is very small
(e.g. 16x16), to improve quality a bit.
2020-03-24 22:28:59 -07:00
Romain Guy
0b7de0ec65 Turn off contact shadows by default in gltf viewer (#2277) 2020-03-24 16:44:48 -07:00