jiaxin.lai
15db2ff71e
ray-model return distance in world space ( #6892 )
...
* optimize & return distance in world space
* tweaks
2020-06-17 17:48:50 +08:00
Leslie Leigh (李的序)
3b31edae67
Fix once bug ( #6889 )
2020-06-17 12:01:11 +08:00
jiaxin.lai
41c1191117
update @cocos/cannon to 1.1.1 ( #6885 )
2020-06-16 18:59:57 +08:00
cary
ee07c5e741
Add fallback of particle system. ( #6884 )
2020-06-16 15:45:34 +08:00
Leslie Leigh (李的序)
83f553034e
Treat node:eulerAngle curve as skeletal curve; skeletal blending for common targets ( #6850 )
...
* Treat node:eulerAngle curve as skeletal curve; skeletal blending for common targets
* Fix
* add test
* Fix
* Fix
2020-06-16 13:39:02 +08:00
Yun Hsiao Wu
3dc17bd634
D16S8 fallback to D24S8 on WebGL backend ( #6879 )
2020-06-16 13:06:41 +08:00
jiaxin.lai
ccf457a594
emit some event before event processor destroy ( #6878 )
...
* emit some event before event processor destroy
* fix typing
* tweaks
2020-06-15 14:21:18 +08:00
pandamicro
65dd5d2405
model component support lighting map ( #6868 )
...
* model component support lighting map (#6796 )
* 模型支持lighting map渲染
* change static lighting settings
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/3d/framework/model-component.ts
# cocos/core/renderer/scene/model.ts
# Conflicts:
# cocos/core/3d/builtin/effects.ts
* Update effects
Co-authored-by: Myway <MSoft1115@hotmail.com >
2020-06-14 19:41:18 +08:00
pandamicro
a655f8189a
Update effects
2020-06-14 19:38:02 +08:00
pandamicro
6b0a37d84a
Fix typo
2020-06-14 19:36:41 +08:00
pandamicro
afa9418ba2
Update effects
2020-06-14 19:36:41 +08:00
Myway
878707fea6
model component support lighting map ( #6796 )
...
* 模型支持lighting map渲染
* change static lighting settings
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/3d/framework/model-component.ts
# cocos/core/renderer/scene/model.ts
# Conflicts:
# cocos/core/3d/builtin/effects.ts
2020-06-14 19:36:41 +08:00
JoneLau
ccb9bdadd8
use highp in builtin-sprite ( #6873 )
2020-06-12 19:31:48 +08:00
pandamicro
1349990fb8
Fix Color.set API ( #6865 )
...
* AudioClip & AudioPlayer playOneShot volume default value
* revert changes
* revert changes
* Color 类型定义错误
* Fix ci
Co-authored-by: k8w <me@k8w.io >
2020-06-12 12:18:14 +08:00
Myway
f6b7abe845
check detailMap valid ( #6861 )
2020-06-11 17:56:16 +08:00
ChiaNing
282df6a9c1
fix acceleration event acc type error ( #6862 )
2020-06-11 17:52:17 +08:00
Yun Hsiao Wu
a9e5ed552c
fix node.setWorldScale ( #6854 )
2020-06-11 16:06:46 +08:00
ChiaNing
95deee57a2
update package.json for api doc ( #6856 )
2020-06-11 15:38:43 +08:00
Yun Hsiao Wu
896fcf3e37
fix node.setRTS ( #6849 )
2020-06-10 15:06:29 +08:00
ChiaNing
780a3fce31
components help docs bug fix ( #6848 )
2020-06-10 14:21:21 +08:00
pandamicro
845fc81fce
Improve CallbacksInvoker to remove __eventTargets mechanism ( #6837 )
...
* Improve CallbacksInvoker to remove __eventTargets mechanism
* Fix return value in Eventify.once
* Use isValid to check callback target validity
* Ensure event processor destroy during node destroy
* Fix node once can't remove touch/mouse listeners issue
* Strict check to include TO_DESTROY and DESTROYED state
* Remove execute and invoke directly in emit
* Fix ci
2020-06-09 11:23:20 +08:00
jiaxin.lai
c31294342a
awake if change collisionFilterGroup&Mask ( #6839 )
2020-06-08 21:07:01 +08:00
jiaxin.lai
dac83d5f24
adapt for alipay ( #6838 )
2020-06-08 17:35:09 +08:00
yinkaile
a955a7839e
export CurveRange ( #6835 )
...
* export CurveRange
* no need export to cc manually
2020-06-08 11:12:50 +08:00
pandamicro
e746d54086
Fix image release for CLEANUP_IMAGE_CACHE ( #6836 )
...
* Fix potential gl texture leak
* reorder
* Fix Model.recieveShadows deprecation
* Fix image destroy for CLEANUP_IMAGE_CACHE
2020-06-07 18:10:37 +08:00
pandamicro
8ed2199ae6
export PrimitiveType ( #6814 )
2020-06-04 16:49:31 +08:00
ChiaNing
fca0664261
fix onHidden/onShow event bug ( #6817 )
2020-06-04 16:49:07 +08:00
Yun Hsiao Wu
b783e5fe92
handle restore operation ( #6815 )
2020-06-03 18:00:29 +08:00
Leslie Leigh (李的序)
ca7b59229a
Bug fix: animation in normal wrap mode won't stop their blend state writers ( #6808 )
...
* Bug fix: animation in normal wrap mode won't stop their blend state writers
* Add test
2020-06-03 16:30:13 +08:00
JayceLai
e6cfa7115a
export PrimitiveType
2020-06-03 16:29:51 +08:00
Yun Hsiao Wu
9ca7c2ce6e
directional light stack ( #6813 )
...
* directional light stack
* hasChangedFlags: bitwise or instead of direct assignment
2020-06-03 15:02:57 +08:00
jiaxin.lai
a0a7cc2f0b
fix vertex index of ray model ( #6809 )
...
* fix vertex index
* tweaks
2020-06-02 19:59:09 +08:00
Yun Hsiao Wu
8086fe6494
fix skybox binding layout update ( #6806 )
2020-06-02 16:32:35 +08:00
pandamicro
def53e4c74
Restore ImageAsset destroy logic to help destroy Image ( #6804 )
2020-06-02 13:52:55 +08:00
jiaxin.lai
7079d5e1af
Fix ray_subMesh/mesh/model ( #6801 )
...
* fix ray_subMesh/mesh/model
* tweaks
* tweaks
* tweaks
* fix ray_model
* tweaks
* tweaks
* docs
* tweaks
2020-06-02 12:54:05 +08:00
pandamicro
51ecb2f1af
Fix CLEANUP_IMAGE_CACHE not working issue ( #6803 )
2020-06-02 11:25:40 +08:00
Yun Hsiao Wu
32efb3cf62
fix skinning shader ( #6800 )
2020-06-01 19:26:41 +08:00
Yun Hsiao Wu
8f9f09f119
fix skinning model instancing ( #6799 )
...
Apparently pre-calculating final offsets on CPU then pass to shader
requires more precision than what's actually provided on some devices.
Never mind, just go with the old ways.
2020-06-01 18:57:57 +08:00
yinkaile
af3ae070be
export ubo defines ( #6791 )
...
* export ubo defines
* export pipeline define things to cc.pipeline
2020-06-01 16:31:59 +08:00
Yun Hsiao Wu
13ec9c08f8
fix skinning model bounds ( #6795 )
...
* fix skinning model bounds
* fix instancing status query
* fix batched skinning model mesh cook
2020-06-01 16:16:51 +08:00
Yun Hsiao Wu
7198381ed9
update comments ( #6793 )
2020-05-31 21:58:08 +08:00
pandamicro
1cefb4e04c
Fix native rAF and cAF ( #6792 )
...
* Fix native rAF and cAF
* Update version
2020-05-31 14:50:51 +08:00
pandamicro
34eab244fc
Fix crash caused by event target removal on destroyed component ( #6790 )
2020-05-29 19:49:30 +08:00
pandamicro
99a2269436
Fix window default rAF replacing issue ( #6789 )
...
* Fix window default rAF replacing issue
* Clear rAF before change mode
2020-05-29 19:22:39 +08:00
Yun Hsiao Wu
2b05eac155
should unbind VAO before unbind VB/IBs ( #6788 )
2020-05-29 19:08:34 +08:00
Leslie Leigh (李的序)
c7fb63b1ec
Mark event-related API of AnimationState as deprecated ( #6772 )
...
* Add 'last-frame-arrived' event; Optimize animation state events
* Doc
* Rename 'last-frame-arrived' -> 'iteration-end'
* Revert refine
* Doc
* Revert `iteration-end`
* CI
2020-05-29 18:38:51 +08:00
pandamicro
0d01f9867e
Fix Node & Scene incompatible issue ( #6786 )
2020-05-29 15:26:11 +08:00
Leslie Leigh (李的序)
2a2a56ad2b
Solve the "once-off" problem ( #6782 )
...
* Solve the "once-off" problem
* Revert CallbacksInvoker
* Update
* Optimize
2020-05-29 15:20:49 +08:00
pandamicro
91a41a2c61
Safe emit game events to avoid editor startup failure ( #6779 )
...
* Safe emit game events so that it won't break editor startup
* Correct API
* remove useless indexof
2020-05-29 14:26:50 +08:00
jiaxin.lai
afa7f892bb
activate when not awake ( #6781 )
...
* activate when not awake
* cannon too
2020-05-29 14:26:34 +08:00