Commit Graph

65 Commits

Author SHA1 Message Date
徐兵 8409d06bca reflection probe support box projection (#14200) 2023-02-14 18:37:57 +08:00
troublemaker52025 03fe6aca9a add dir-light visibility and support baked light (#14087) 2023-02-03 15:46:14 +08:00
pandamicro c8d1c8e927 Improve camera API doc and fix some range declarations (#14088)
* Improve API doc for camera

* Improve inspector range declarations

* Fix typo
2023-01-18 16:14:21 +08:00
Myway ddd059dc71 add highp lightmap macro (#14081) 2023-01-17 16:39:05 +08:00
bofeng-song 56e714696a Fix the lod that does not work properly when forced to use certain levels (#14055) 2023-01-12 15:25:58 +08:00
bofeng-song f7b4eeef81 fix models can not be show normaly while it set to multi levels (#13975)
* fix models can not be show normaly while it set to multi levels
2023-01-12 11:48:58 +08:00
徐兵 1d226aea71 add lod culling for reflection probe (#13955) 2022-12-29 16:32:17 +08:00
minggo 49cb0235e6 fix export name (#13929) 2022-12-28 13:51:12 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
hyde zhou df9b49b539 [pipeline] update custom pipeline (#13744) 2022-12-22 19:09:48 +08:00
徐兵 e6018c78d4 native engine support reflection probe bake cubemap (#13869) 2022-12-22 16:29:50 +08:00
bofeng-song 834657ca79 refine: cache lodGroup's state and reduce api call of getVisibleLODLevel (#13800)
* refine: cache lodGroup's state and reduce api call of getVisibleLODLevel
2022-12-21 14:33:09 +08:00
徐兵 c06d6dc657 fix error caused by create terrain model and not use 3d base modules (#13795) 2022-12-13 18:02:21 +08:00
Zeqiang Li e6e82206eb Shader process (#13719) 2022-12-09 10:57:16 +08:00
hyde zhou aa7c8940ba [pipeline] refactor program-lib.ts, pass.ts (#13610) 2022-12-08 16:33:57 +08:00
徐兵 6d9c0c8f93 add planar reflection culling and refresh models after delete probe (#13671) 2022-12-07 15:12:20 +08:00
徐兵 ecb00f7631 fix add reflection probe report error for native scene (#13688)
* add validate

* fix switch probe error
2022-12-06 19:05:49 +08:00
troublemaker52025 8d1ed0e1d5 [Optimize] csm transition code (#13611) 2022-12-02 17:09:26 +08:00
hyde zhou 9f145fffb7 [pipeline] update custom pipeline (#13580) 2022-12-01 10:13:02 +08:00
Zeqiang Li 73a55c71e8 flatten shader location (#13586) 2022-11-30 17:26:11 +08:00
徐兵 68a89458ff optimize planar reflection culling (#13576) 2022-11-29 17:05:21 +08:00
pandamicro 2486810ded Fix issue that FLOAT4 uniform validator doesn't accept quaternion (#13551) 2022-11-24 21:47:19 +08:00
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* feat: add the basic capability of handset ar native

* feat: add handset input device, for ar camera pose

* feat: native pack tool supports xr platform name

* feat: web gl context supports webxr

* feat: webxr has been converted to screen coordinates via camera

* fix: pr ts-expect-error undefined xr

* feat: support webxr, and remove ar redundant code

* fix:xr-spaces gradlew permission error

* feat: revert redundant ar engine feature

* fix: eslint check error

* feat: remove redundant code

* fix: eslint check warning

* adjust armodule process in forward stage, mtl texture and jsb

* fix: exlint warning, and add license

* adjust ar lib and interfaces

* change webxr check interface

* merge external arlib header and move it to engine

* improve: update native external version

* move ar background stage to xr/rendering and move its init to webxr device in xr plugin

* fix format error

* fix format error

* adjust jsb_ar_manual, ARModule, ARBackground

* adjust arbackground

Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
2022-11-24 13:33:50 +08:00
pandamicro 08c7fe3956 Add pre type validator for setUniform (#13462) 2022-11-23 15:26:16 +08:00
徐兵 d9eab1e8d6 add code comment and fix shader compiling error (#13478) 2022-11-23 00:16:37 +08:00
troublemaker52025 050f9bdb16 add shadow layer transition for csm (#13144) 2022-11-22 18:34:08 +08:00
李吉林 184c8a9c91 refactor light probe data (#13484)
* refactor light probe data
2022-11-22 18:22:52 +08:00
troublemaker52025 0a1a200eb9 [Bug] Fix planar shadow with instancing (#13461) 2022-11-22 11:08:15 +08:00
徐兵 0f8d8cd3d9 reflection probe support instancing and moving update (#13426) 2022-11-22 10:16:55 +08:00
zhangxin 8940126131 use camera's world position instead of local position (#13435)
* use camera's world position instead of local position

* Update lod-group.ts
2022-11-18 17:54:10 +08:00
徐兵 9a740141cc reflection probe for custom pipeline (#13407) 2022-11-17 18:12:38 +08:00
Myway 5445be354d dirty main light bake flag in scene globals and change use_lightmap macro value (#13389) 2022-11-16 10:53:53 +08:00
徐兵 b2b0d09e1d reflection probe planar reflection for native engine (#13281) 2022-11-14 17:37:11 +08:00
李吉林 7a32e653cb remove component related code from native (#13352)
* remove component related code from native
2022-11-14 11:34:42 +08:00
zhangxin bc9b41f0e0 Update reflection probe (#13333)
* [editor]update reflection-probe

update reflection-probe
- update reflection-probe gizmo icon
- update inspector of mesh renderer
- update inspector of reflection-probe
- reflection probe 's size will be readonly

* Update reflection-probe.ts

* eslint
2022-11-10 22:15:40 +08:00
李吉林 3d7beff293 support instancing for light probe (#13324) 2022-11-10 18:09:42 +08:00
徐兵 4a3415ee39 fix reflection probe cube face orientation and some optimization (#13249) 2022-11-07 19:00:10 +08:00
santy-wang be5454309e Merge branch 'develop' of github.com:cocos-creator/engine into develop 2022-11-07 15:30:11 +08:00
minggo 7294de16f6 Adjust core import (#13230)
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
santy-wang a8913f5f16 Merge branch 'v3.6.2' of github.com:cocos-creator/engine into develop 2022-11-07 14:19:59 +08:00
徐兵 363dc8ec3a [fix] compile error in cocos runtime and optimize bake probe cubemap (#13208) 2022-11-02 14:21:25 +08:00
bofeng-song e67aa08984 remove unneed code & fix objectSize can not set to scene's LodGroup (#13211)
* fix wrong Lod's wrong size, if user doesn't call recalculatedBounds

* remove unneed code &  fix objectSize can not set to scene's LodGroup
2022-11-02 11:06:32 +08:00
zhangxin 9181bf5e7c update reflection-probe's inspector and move develop's code to editor,add gizmo icon (#13185) 2022-10-31 16:12:58 +08:00
徐兵 92f74f55b2 reflection probe texture binding (#13168) 2022-10-28 19:07:17 +08:00
bofeng-song 80415048df native implement for LOD (#13167)
* native implement for LOD
2022-10-28 18:29:53 +08:00
李吉林 612b442384 reset tetrahedronIndex (#13176) 2022-10-28 15:58:16 +08:00
bofeng-song 19f1329a52 fix set LODs will change the input's variable & refine function name (#13164) 2022-10-28 09:54:58 +08:00
徐兵 120d7fe959 add reflection probe (#13155) 2022-10-27 15:36:56 +08:00
李吉林 a1a833ceb4 first optimization for light probe (#13157)
* first optimization for light probe
* optionally emit LIGHT_PROBE_CHANGED event
2022-10-27 11:36:08 +08:00
bofeng-song 28555c355a Lod (#13072) 2022-10-27 10:39:56 +08:00