Commit Graph

39 Commits

Author SHA1 Message Date
李吉林 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
troublemaker52025 4bb8dfd702 [Feature] add visibility for light component (#13131) 2022-10-26 15:26:56 +08:00
minggo 83a2717fac Fix module import (#13140)
* fix core module import style

* import murmurhash2_32_gc from core module

* do not export visibleRect
2022-10-25 16:38:38 +08:00
李吉林 82b4a419cd fix light probe cropping (#13137) 2022-10-25 11:39:53 +08:00
李吉林 a9d4e13f85 Light probe merge (#13093)
* add light probe
2022-10-19 22:34:21 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
hyde zhou f3b3e0ce67 adding missing enum (#12965) 2022-09-30 14:14:21 +08:00
王凯鹏 5502840c00 feature : set camerUsage when creating amera (#12952) 2022-09-29 19:05:50 +08:00
minggo 7e6b054b87 remove dependence of render scene caused by core/deprecated.ts (#12931) 2022-09-28 14:46:48 +08:00
minggo 95a76235b6 Adjust some files (#12910)
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
  - director.ts
  - splash-screen.ts
  - game.ts
 - move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
 - move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
hyde zhou 71a4452807 [develop] add camera usage (#12857) 2022-09-23 10:22:22 +08:00
minggo bd0fcc67c4 move cocos/core/pipeline to cocos/rendering (#12797)
* move cocos/core/pipeline to cocos/rendering
2022-09-16 16:10:26 +08:00
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
santy-wang 7bbad4a0a4 Merge branch 'develop' of github.com:cocos-creator/engine into v3.6.1-sync 2022-09-14 11:47:58 +08:00
minggo 4261ccae76 move cocos/core/renderer to cocos/render-scene (#12729)
* move cocos/core/renderer to cocos/render-scene

* fix compiling error on native
2022-09-09 18:19:06 +08:00