ChiaNing
6ed0e81cca
new UI custom material & use hash check merge ( #7649 )
...
* new UI custom material & use hash check merge
* update
* update
* apidoc
2020-10-31 13:34:15 +08:00
cary
5243653fa7
Fix pipeline error in editor. ( #7636 )
...
* Fix pipeline error in editor.
* delete destroy in ui model
2020-10-31 12:52:17 +08:00
pandamicro
b925dc7f62
Dynamic initialize shaders ( #7647 )
...
Co-authored-by: SB <leslieleigh@outlook.com >
2020-10-31 11:45:42 +08:00
coulsonwang
66b8c25574
fix lighting for native ( #7637 )
2020-10-31 09:49:00 +08:00
Yun Hsiao Wu
7591bbbb20
misc bug fixes ( #7644 )
2020-10-30 20:33:04 +08:00
pandamicro
b67090be4f
Revert "Dynamic initialize shaders ( #7642 )" ( #7646 )
...
This reverts commit e3577cf510 .
2020-10-30 20:02:16 +08:00
Leslie Leigh (李的序)
e3577cf510
Dynamic initialize shaders ( #7642 )
2020-10-30 19:24:33 +08:00
troublemaker52025
1020378d71
update memory pool for shadow ( #7606 )
2020-10-30 16:19:21 +08:00
江战
a933edb94f
Merge TiledMap from 2.x ( #7610 )
...
* Save all
* fix uv
* fix object groups
* fix tintcolor
* add method modifier
* tslint
* replace ccCOlor
* add import warning
* rename
* add comments
* add comments
* update zlib
* Save
* pixel offset
* update tests/general/sealed-global-variables.json
* exclude from cc
* remove _walkGen
* update setScale & setRotationFromEuler
2020-10-30 10:35:52 +08:00
Yun Hsiao Wu
c60a6ed251
pre-rotation adaptation: dynamics ( #7625 )
...
handle runtime orientation chanegs too
2020-10-29 13:45:16 +08:00
ChiaNing
9caad4d37a
pass overridePipelineStates change ( #7617 )
2020-10-29 13:40:11 +08:00
coulsonwang
663aa1bf52
fix native memory pool ( #7615 )
2020-10-28 18:24:23 +08:00
Knox
37fec6341f
sync 2d (Update the url links) ( #7613 )
2020-10-28 17:06:27 +08:00
JoneLau
351b6480e4
add image stencil in mask ( #7598 )
...
* add image stencil in mask
* update
2020-10-28 12:13:53 +08:00
Yun Hsiao Wu
a318283a41
fix pre-rotation adaptation ( #7607 )
2020-10-28 10:28:21 +08:00
Leslie Leigh (李的序)
f99240f664
@cocos/build-engine: add option to remove deprecated features ( #7603 )
2020-10-27 18:28:58 +08:00
cary
6bcc7933a9
Add motion streak and particle 2d. ( #7588 )
...
* Add motion streak and particle 2d.
* fix buffer error
* modify comment error
* fix ci
* fix comment
* modify some comment
2020-10-27 11:48:17 +08:00
ChiaNing
ca87207d7f
UI stencil cache add ( #7595 )
...
* stencil cache add
* function format change
* format change
2020-10-26 19:04:23 +08:00
ChiaNing
b10e8c5bcd
DescriptorSet Cache add ( #7591 )
...
* DescriptorSet Cache add
* commitComp function format change
* api in texture-base remove
2020-10-26 16:13:41 +08:00
coulsonwang
f875a56e02
add sphere and spot light handle ( #7587 )
2020-10-26 15:25:21 +08:00
Yun Hsiao Wu
40d959e718
gfx: pre-rotation on android ( #7586 )
2020-10-26 10:31:17 +08:00
pandamicro
6101d772a2
Merge remote-tracking branch 'origin/3d-v1.2' into 3d
...
# Conflicts:
# EngineErrorMap.md
# cocos/core/3d/builtin/effects.ts
# cocos/core/data/decorators/property.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/ui/mesh-buffer.ts
# cocos/core/renderer/ui/ui-vertex-format.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# cocos/ui/assembler/graphics/webgl/graphics-assembler.ts
# cocos/ui/components/graphics.ts
# editor/assets/default_prefab/3d/Capsule.prefab.meta
# editor/assets/default_prefab/3d/Cone.prefab.meta
# editor/assets/default_prefab/3d/Cube.prefab.meta
# editor/assets/default_prefab/3d/Cylinder.prefab.meta
# editor/assets/default_prefab/3d/Plane.prefab.meta
# editor/assets/default_prefab/3d/Quad.prefab.meta
# editor/assets/default_prefab/3d/Sphere.prefab.meta
# editor/assets/default_prefab/3d/Torus.prefab.meta
# editor/assets/default_prefab/Camera.prefab.meta
# editor/assets/default_prefab/Terrain.prefab.meta
# editor/assets/default_prefab/effects/Particle System.prefab.meta
# editor/assets/default_prefab/light/Directional Light.prefab.meta
# editor/assets/default_prefab/light/Sphere Light.prefab.meta
# editor/assets/default_prefab/light/Spot Light.prefab.meta
# editor/assets/default_prefab/ui/Button.prefab.meta
# editor/assets/default_prefab/ui/Canvas.prefab.meta
# editor/assets/default_prefab/ui/EditBox.prefab.meta
# editor/assets/default_prefab/ui/Label.prefab.meta
# editor/assets/default_prefab/ui/Layout.prefab.meta
# editor/assets/default_prefab/ui/Mask.prefab.meta
# editor/assets/default_prefab/ui/ProgressBar.prefab.meta
# editor/assets/default_prefab/ui/ScrollView.prefab.meta
# editor/assets/default_prefab/ui/Slider.prefab.meta
# editor/assets/default_prefab/ui/Sprite.prefab.meta
# editor/assets/default_prefab/ui/Toggle.prefab.meta
# editor/assets/default_prefab/ui/ToggleContainer.prefab.meta
# editor/assets/default_prefab/ui/Widget.prefab.meta
2020-10-21 18:35:11 +08:00
Jare Guo
0319477911
fix decorator warning of ValueTypes ( #7553 )
...
* fix decorator warning of ValueTypes (sync #6285 )
* refresh copyright
2020-10-21 16:31:41 +08:00
coulsonwang
b2c367b6f3
set native subMesh handle ( #7566 )
2020-10-21 13:45:39 +08:00
Yun Hsiao Wu
361e7149d7
UI: do most of the update before device sync ( #7565 )
2020-10-21 10:33:40 +08:00
Yun Hsiao Wu
d61330ee03
discrete descriptor set layout bindings ( #7536 )
...
* allow discrete descriptor set layout bindings
* specialize local DS layout
* fix binding indices mapping
* fix shadows
* UI: update buffer after device.acquire
* update shadow phase name
* ext blend minmax support
* fix splash screen on native
2020-10-20 15:08:17 +08:00
ChiaNing
eaaece1bf5
ui batch marge for stencil ( #7540 )
2020-10-16 14:00:22 +08:00
troublemaker52025
82cc28847b
add terrain shadow ( #7500 )
...
* add terrain shadow
* update
* update
* update
* delete temp source code
* Optimize the auto shadow
* shadow 和 0 号对齐
* add reciveshadow control
* cancel
* fix shadow effect display error
* update
* use 1.0, doesnt use 1 in glsl
* update effects
* change bbMin && bbMax use Number.MAX_VALUE && Number.MIN_VALUE
* update
* update
2020-10-15 16:48:44 +08:00
yinkaile
538ef92cb2
refine export pipeline ( #7507 )
...
* refine export pipeline
* export memory-pool
2020-10-15 15:54:57 +08:00
coulsonwang
af31f258ee
fix sphere invalid buffer pool handle ( #7529 )
2020-10-15 10:29:44 +08:00
coulsonwang
934b18cd10
fix native instanced buffer ( #7528 )
2020-10-15 10:19:11 +08:00
JoneLau
69e65b848a
adjust the Graphics structure to support continuous data filling ( #7524 )
...
* Revert "adjust the Graphics structure to support continuous data filling (#7523 )"
This reverts commit b86f3ccec1 .
* adjust the Graphics structure to support continuous data filling (#7359 )
2020-10-14 22:35:54 +08:00
minggo
329fefc33c
clip descriptor-set.ts, pipeline-layout.ts and descriptor-set-layout.ts
2020-10-14 13:56:54 +08:00
JoneLau
b86f3ccec1
adjust the Graphics structure to support continuous data filling ( #7523 )
2020-10-14 11:54:15 +08:00
troublemaker52025
7a697eeadc
fix sphere.margeAABB bug ( #7518 )
...
* fix sphere.margeAABB bug && Optimize automatic shadow calculation
* Even if the obstruction is not in the field of view, the shadow is still visible
* optimization,and avoid using sphere.radius < 0
* Avoid creating aabb repeatedly
* update
2020-10-14 11:20:38 +08:00
minggo
df0efdc74a
clip more JS codes on native ( #7520 )
2020-10-14 09:42:32 +08:00
minggo
8c93b9e890
clip shader.js/input-assembler.js/buffer.js ( #7516 )
2020-10-13 15:11:57 +08:00
minggo
249d4cd6fb
use native Device ( #7511 )
2020-10-12 18:30:08 +08:00
coulsonwang
35a165e8ca
add SphereView to memory pool ( #7484 )
2020-10-12 15:05:15 +08:00
Yun Hsiao Wu
9bba200429
array pool refactor ( #7496 )
...
* refactor array pool
* ModelView.INSTANCED_BUFFER
* MRT feature flag
* minor
2020-10-12 14:25:36 +08:00
troublemaker52025
8407e716ac
auto-shadow-info ( #7404 )
...
* auto-shadow-info
* add bais control
* update control name
* merge cc_shadowPCF(Vec2) && cc_shadowSize(Vec2) to cc_shadowInfo(Vec4)
2020-10-11 17:27:53 +08:00
ChiaNing
88ced2665e
UI material stencil state change bug fix ( #7497 )
2020-10-11 17:25:25 +08:00
minggo
3539745c14
use native Texture/TextureInfo/TextureViewInfo on native platforms ( #7498 )
2020-10-10 18:28:16 +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
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
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
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
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
76c767adf1
Buffer pool stores mix data type ( #7430 )
2020-09-24 09:57:07 +08:00