Commit Graph

9721 Commits

Author SHA1 Message Date
yinkaile 96a735b2ff 3d v1.2 physics 2d (#7357)
* Squashed commit of the following:

add physics 2d

* @@ -205,9 +205,6 @@ export class b2PhysicsWorld implements IPhysicsWorld {

revert box2d version

* add mask param to raycast

* refine code
2020-10-12 11:49:49 +08:00
Knox 04cb888694 rename webview to web-view (#7502)
* rename webview to web-view

* refine code
2020-10-12 11:36:14 +08:00
zhefeng.zhang d555cb5f93 sync 2D #6825 to 3d engine (#7467)
* sync #6825 to 3d engine

* correction code
2020-10-11 17:28:48 +08:00
江战 040ebc4f6b sync https://github.com/cocos-creator-packages/jsb-adapter/pull/210 (#7483) 2020-10-11 17:24:27 +08:00
PP 6000791697 Revert "fix sharedCanvas (#7405)" (#7495)
This reverts commit 93d3d8c5de.

# Conflicts:
#	cocos/core/assets/image-asset.ts
2020-10-11 17:20:13 +08:00
黄森斌 8ae5b52379 typescript template add document reference link (#7488) 2020-10-11 17:19:01 +08:00
Knox 1ca96f678b improve web view component (#7414)
* add web view

* add web view gizmo icon
2020-10-11 17:12:11 +08:00
minggo 3539745c14 use native Texture/TextureInfo/TextureViewInfo on native platforms (#7498) 2020-10-10 18:28:16 +08:00
ChiaNing 0382ba40c1 SPF Optimization for build (#7482)
* SPF Optimization for build

* update
2020-10-09 15:22:09 +08:00
PP 73be65cd31 support new SubContextView (#7303)
* support new SubContextView

* update

* add type property when postMessage
2020-10-08 23:57:03 +08:00
pandamicro b579427fd8 Merge pull request #7475 from pandamicro/3d
Merge v1.2 to 3.0
2020-09-30 18:37:11 +08:00
pandamicro 9d9b8d6169 Fix ci 2020-09-30 18:34:30 +08:00
pandamicro 7481303268 Merge branch '3d-v1.2' into 3d
# Conflicts:
#	cocos/core/3d/framework/camera-component.ts
#	cocos/core/assets/mesh.ts
#	cocos/core/components/component-event-handler.ts
#	cocos/core/game.ts
#	cocos/core/gfx/webgl/webgl-commands.ts
#	cocos/core/gfx/webgl2/webgl2-commands.ts
#	cocos/core/pipeline/define.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/instanced-buffer.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/pipeline/shadow/shadow-flow.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/renderer/scene/shadows.ts
#	cocos/core/renderer/scene/skybox.ts
#	cocos/core/splash-screen.ts
#	cocos/ui/components/button.ts
#	cocos/ui/components/editbox/edit-box-impl.ts
#	editor/assets/primitives.fbx
#	package-lock.json
#	package.json
2020-09-30 18:01:33 +08:00
minggo c9bbcf905f GFXInputState GFXPipelineStateInfo use jsb binded class (#7473) 2020-09-30 17:25:20 +08:00
Knox 1a0ffc6af8 fix calculate delta time bug (#7471)
* fix calculate delta time bug

there is no need to calculate Delta Time under the editor.

* refine code
2020-09-30 16:21:15 +08:00
troublemaker52025 3375a5cf15 Shadow optimization (#7459)
* toon receives shadow

* fix gfx state cache

* 背面消影

* merge cc_ShadowPCF && cc_ShadowMapSize to cc_ShadowInfo;  add bias to shader and editor

* update

* merge pr #7452

https://github.com/cocos-creator/engine/pull/7452

* reomve atten; use NL

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2020-09-30 15:36:01 +08:00
Leslie Leigh (李的序) 21a6bb135a Optimize morph rendering (#7436) 2020-09-30 15:24:29 +08:00
yinkaile 6096ec001e add type definition to tween (#7368) 2020-09-30 15:22:18 +08:00
Knox 454c7bd3ee improve video player and support for Android and iOS platforms. (#7470)
* improve video player and support for Android and iOS platforms.

* refine code
2020-09-30 14:10:52 +08:00
minggo 0d29f4f3f3 make only native gfx work (#7468) 2020-09-29 14:48:43 +08:00
pandamicro 30662bd702 Merge pull request #7464 from pandamicro/3d-v1.2
Merge v1.1 into v1.2
2020-09-28 18:02:01 +08:00
pandamicro 27e36c1179 Merge remote-tracking branch 'origin/3d-v1.1' into 3d-v1.2
# Conflicts:
#	cocos/core/math/quat.ts
#	cocos/core/math/rect.ts
2020-09-28 17:55:37 +08:00
Yun Hsiao Wu f7ddf5a041 fix camera.clearColor (#7462) 2020-09-28 17:05:46 +08:00
ChiaNing 15a1806d18 API doc format change (#7456) 2020-09-28 16:52:52 +08:00
JoneLau 1398ad4b1c fixed vb initialization and submit twice (#7460) 2020-09-28 16:50:38 +08:00
Yun Hsiao Wu c2e3de2caa GFX: public interfaces (#7444)
* public interfaces: render pass, IA, PSO

* public interfaces: Queue, Sampler, Shader, DSLayout

* public interfaces: DS, CB, Texture, Buffer, Device

* public interfaces: other supporting structs

* fix framebuffer state cache
2020-09-28 11:32:47 +08:00
Knox 22d3869788 fix set font size invalid in rich text (#7457) 2020-09-28 10:39:28 +08:00
pandamicro 455fa20193 Revert "create terrain block bound (#7445)" (#7458)
This reverts commit dd43404370.
2020-09-28 10:39:01 +08:00
zhefeng.zhang 221014f454 sync #5924 (#7208)
Co-authored-by: zhefeng.zhang <35944775+Jno1995@users.noreply.github.com>
2020-09-27 18:07:02 +08:00
SijieWang cd9ae84ce7 fix cc.SkeletalAnimationComponent.Socket (#7453) 2020-09-27 17:43:19 +08:00
ChiaNing 34785205ff Editbox event bug fix (#7451) 2020-09-27 16:28:03 +08:00
coulsonwang 0ea7abaa25 add index.jsb.ts (#7450) 2020-09-27 15:48:33 +08:00
minggo 00f1b65311 do not adapt PipelineState (#7448) 2020-09-27 11:23:06 +08:00
Myway dd43404370 create terrain block bound (#7445) 2020-09-26 22:16:14 +08:00
cary d2cd17532a Fix ui destroy error when ui flow not exist. (#7442)
* Fix ui destroy error when ui flow not exist.

* refine code
2020-09-25 17:24:43 +08:00
minggo e439afc0ae use native PipelineStateManager in native environment (#7447) 2020-09-25 14:16:11 +08:00
minggo 76c767adf1 Buffer pool stores mix data type (#7430) 2020-09-24 09:57:07 +08:00
Yun Hsiao Wu 80461d1566 fix audio stop after interrupted (#7443)
* minor

* fix audio stop after interrupted
2020-09-23 15:56:14 +08:00
troublemaker52025 365313d3ea model initialize (castShadow = false && _receiveShadow = true) (#7441) 2020-09-22 20:00:48 +08:00
ChiaNing 8e0857d9a2 compressTexture bug fix on native (#7440) 2020-09-22 16:30:19 +08:00
Yun Hsiao Wu e47fc245e6 init main light info (#7427) 2020-09-22 16:27:58 +08:00
yinkaile bd8643dbc6 change action hash targets to Map (#7438)
* change action hash targets to Map

* refine code
2020-09-22 14:39:50 +08:00
troublemaker52025 e7ada483a8 Shadow range culling for 3d-v1.2 (#7439)
* shadowMap range culling

* fix the light follows the position of the model

* using light node matrix
2020-09-22 14:26:56 +08:00
troublemaker52025 fa6a45aa1a fix shadow draw model back (#7431)
* fix shadow draw model back

* add effect.ts
2020-09-21 17:59:38 +08:00
ChiaNing 82f69e3a82 fix button interactable bug in editor (#7428) 2020-09-21 15:35:59 +08:00
Leslie Leigh (李的序) 587d1edb9d Fix animation cannot stop issue (#7408) 2020-09-21 15:22:04 +08:00
troublemaker52025 88455d9f95 shadow effect blur (#7391)
* shadow effect blur

* update

* add effects
2020-09-21 12:03:28 +08:00
cary d4a5f2c1b0 Fix the issue of pcf is not working when running. (#7390) 2020-09-21 12:02:32 +08:00
cary eef4480971 Fix the decorators error in pipeline. (#7425)
* Fix the decorators error in pipeline.

* refine code
2020-09-21 12:01:26 +08:00
ChiaNing bdf2487dd8 widget lock bug fix (#7416) 2020-09-21 11:51:53 +08:00