Commit Graph

2302 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) b4cc1bfcc6 Add AnimationMask.joints setter (#10780)
* Add AnimationMask.joints setter

* Update

* Unit test
2022-04-18 10:55:55 +08:00
Leslie Leigh (李的序) 07c002c98a Fix failed to alter the reset mode of trigger variables (#10783) 2022-04-15 19:15:17 +08:00
jk20012001 e240164c97 increase max normalmap intensity value (#10774)
* increase max normalmap intensity value

* rename normalStrenth
2022-04-15 18:30:28 +08:00
godIsAProgrammer 6888128078 Update macro.ts for API reference (#10760)
* macro.ts

* update macro file

Co-authored-by: caoqisen <qisen.cao@cocos.com>
2022-04-14 18:20:27 +08:00
jk20012001 c559cab440 Fix instancing performance issue with new chips on metal (#10765)
* Fix instancing performance issue with new chips on metal

* Fix shadow bias with Batching
Update compiled shaders
2022-04-14 17:02:55 +08:00
King Wang 287ad8d01f fix Return type of set is any in vec3 and some types (#10722) 2022-04-14 16:37:21 +08:00
jk20012001 aebdeba97a Fix toggle environment lighting diffusemap failed (#10739)
* Fix toggle environment lighting diffusemap failed
Add CCGetShadowFactorSoft5X

* revert soft shadow shader code
2022-04-14 16:29:16 +08:00
Leslie Leigh (李的序) d6bd654169 The instantiation of animation graph should be done at loading phase (#10728)
* The instantiation of animation graph should be done at loading phase

* Update
2022-04-13 12:53:01 +08:00
Yiwen 833d98a5a1 bypass the bug that vulkan destroys resources in use. (#10716) 2022-04-11 11:18:01 +08:00
Leslie Leigh (李的序) a7f48be180 Remove deprecated API in animation module (#10645)
* Remove deprecated API of animation

* Update

* Revert removal of animation component
2022-04-10 21:56:16 +08:00
Yiwen 42e4a3bb15 fix the performance issue caused by texture mipmap (#10713)
* fix mipmap performance issue
2022-04-10 15:53:49 +08:00
jk20012001 e78c4c852b Fix #11925 skin instancing vertex attributes binding order for native engine (#10703) 2022-04-09 21:18:24 +08:00
alpha 4ded28118b improve camera-component inspector (#10708) 2022-04-09 10:21:42 +08:00
PP d749bbe1c4 remove legacyPublic tag (#10702) 2022-04-08 19:41:20 +08:00
pandamicro f15932c146 Minor module refactor in core/renderer/ (#10643)
* Move render-scene and native-scene

* Minor changes
2022-04-08 13:06:30 +08:00
minggo be735449af Revert "remove some deprecated api (#10656)" (#10694)
This reverts commit a1b1fc5a09.
2022-04-08 11:51:06 +08:00
minggo a1b1fc5a09 remove some deprecated api (#10656)
* remove some deprecated api
2022-04-07 16:31:02 +08:00
Leslie Leigh (李的序) 7c9fbc431b Revert #10485, #10512, #10576 (#10683) 2022-04-07 16:22:34 +08:00
pandamicro 3fa0ff05c4 Update effects (#10662) 2022-04-06 11:42:12 +08:00
Leslie Leigh (李的序) ad38d77da4 Fix circular reference (#10625)
* Fix circular reference

* Update

* Update
2022-04-01 13:44:15 +08:00
jk20012001 9f83fb1ae9 Add specular intensity for DCC effects (#10613)
* Add specular intensity for DCC effects
effect data migrates for include decode-base and specular intensity

* update compiled shaders
2022-03-31 18:25:03 +08:00
Leslie Leigh (李的序) 99f6d0075c Mark some methods as internal (#10604) 2022-03-31 16:03:28 +08:00
Santy-Wang a963881d4e add category config file for docs (#10589)
* add category config file for docs

* add input module

* adjust name
2022-03-30 18:32:37 +08:00
Leslie Leigh (李的序) 6b7fbf65c3 Mark some animation stuff as legacyPublic (#10585) 2022-03-30 13:53:19 +08:00
Leslie Leigh (李的序) 891237b06e Fix skeletal animation state got update twice (#10571)
* Fix skeletal animation state got update twice

* update

* Add test

* Update

* Update

* Always update

* rename
2022-03-29 21:39:59 +08:00
Leslie Leigh (李的序) 81a2ff7328 Fix animation event type typing (#10562) 2022-03-29 20:04:00 +08:00
Leslie Leigh (李的序) 6070aa5c79 Fix cross fade bug introduced from #10485 (#10576) 2022-03-29 20:02:10 +08:00
Leslie Leigh (李的序) 0a67669190 Animation state bugfix (#10558) 2022-03-29 11:33:47 +08:00
Leslie Leigh (李的序) 9e46834765 Category description (#10544)
* Category description

* Update
2022-03-28 17:53:45 +08:00
Yiwen 718ea8ee3f Add a method to select mipmap range for Texture2D and TextureCube. (#10500)
* Add a feature to select mipmap range to image asset.

* fix format

* fix format

* modify comments, remove uncessary methods

* finx comments.

* fix logic problem

* fix mipmap range problems

* Add validation information incase someone wants to generate mipmap for compressed texture

* remove some validations to make gfx bakend clear

* fix a stupid typo

* Add validation information for setMipRange

* use assertID to validate the mipmap range
2022-03-27 13:52:24 +08:00
Santy-Wang 98e52e3f16 output warning info when attached to the node has zero scaling (#10524)
* output warning info when attached to the node has zero scaling

* use approx instead
2022-03-26 22:23:29 +08:00
pandamicro f4aa81d88e Fix vec3 & vec4 transformAffine (#10508) 2022-03-26 19:23:41 +08:00
Leslie Leigh (李的序) 73374aa999 Fix animation bug introduced from #10485 (#10512)
* Fix animation bug introduced from #10485

* Add test
2022-03-26 15:57:50 +08:00
Leslie Leigh (李的序) 673844eafb Fix: animation blending zero check (#10499)
* Fix: zero check animation blending

* Rename
2022-03-25 18:51:15 +08:00
mu xiandong 1f11536a1f fix: Fix getUrlWithUuid smart hint issue (#10484)
* fix: Fix getUrlWithUuid smart hint issue

link https://github.com/cocos/3d-tasks/issues/8714

* fix ci

* fix ci

* fix

Allow the options value to be empty, keeping it consistent with the previous API

* Update helper.ts

* fix

Co-authored-by: muxiandong <24754593@qq.com>
2022-03-25 18:39:44 +08:00
PP 5ef14f649f remove help decorator on non-component class (#10503) 2022-03-25 16:25:30 +08:00
PP 96f3bd00e3 fix pointer event when camera.orthoHeight changed (#10496)
* deprecated uiTransform.isHit with hitTest method

* use hitTest instead of isHit

* add type info

* update
2022-03-25 13:53:09 +08:00
Leslie Leigh (李的序) f00d11adaa Optimize the way how animation component update its animation content (#10485)
* Optimize the way how animation component update its animation content

* Update

* Update

* update

* Update
2022-03-25 10:03:29 +08:00
jk20012001 d5f172b782 Fix fog accumulated error with multiple local lights (#10445)
* Fix fog accumulated error with multiple local lights

* add standard exposure value for lightmap
2022-03-23 17:43:43 +08:00
Leslie Leigh (李的序) 16253687b9 Handle legacyPublic in API doc (#10456)
* Handle legacy public

* Update
2022-03-23 14:26:27 +08:00
黄森斌 d065ca6aee V3.5.0 fix bug: reset renderer-component would not update model (#10342)
* fix bug: reset materials would not update model

* add comment

* reset _materials.length

* fix bug: model in scene would not disappear when remove mesh

* modify code written
2022-03-22 17:57:56 +08:00
pandamicro d3f5e58acc Fix templates and minor tweaks (#10434)
* Fix templates

* Minor tweaks

* Minor
2022-03-22 17:22:41 +08:00
Santy-Wang ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
Leslie Leigh (李的序) b87c185333 Marionette: layer, mask, auto trigger, pass through state (#10179)
* Marionette/3.5.0 Initial Commit

* Auto trigger default value

* import skeleton 改为选择 fbx 文件

* Rename passthrough -> empty

* Refactor Auto Trigger (#81)

* Refactor auto trigger

* Lint

* Optimize

* Update

* Migrate triggers (#82)

* Fix merge problems

* Optimize

* Optimize

Co-authored-by: arsen2010 <arsen2010@126.com>
2022-03-22 15:05:45 +08:00
Leslie Leigh (李的序) 466d4cf1f9 API documentation: category (#10435)
* Typdoc: category

* Add categories

* workflow
2022-03-22 13:57:00 +08:00
Santy-Wang a6ffd14c23 optimize decorator performance (#10323)
* optimize decorator performance

* refine

* debug

* delete useless code

* add ccclass

* add freeze
2022-03-16 18:16:21 +08:00
timlyeee b9353eb18c only free for native (#10369) 2022-03-16 16:31:04 +08:00
Leslie Leigh (李的序) 02138a9e72 Export Value in animation namespace (#10360) 2022-03-16 13:38:04 +08:00
pandamicro 8281503c4d Merge pull request #10346 from cocos/v3.4.2
Optimize memory occupation of RealCurve, CurveRange (#10328)
2022-03-15 18:09:08 +08:00
jk20012001 766b7efb2a Fix: #11580 create new light source intensity display type unknown (#10324) 2022-03-15 14:32:14 +08:00