James Chen
3025bcd012
[v3.6.0] Optimize se::Object::getPrivateData, math::IsEqualF, Vec3::transformMat4 ( #12039 )
2022-07-18 14:10:16 +08:00
江战
dbe8fd35b5
Fix PassUtils parsing vec3 with single float ( #12028 )
2022-07-16 14:36:23 +08:00
李吉林
debd809319
crop occlusion query ( #11990 )
...
* crop occlusion query
2022-07-14 19:32:47 +08:00
Yiwen
31ec3c4c0c
the computation of projection matrix should consider sign of Y ( #11995 )
2022-07-14 18:25:05 +08:00
troublemaker52025
e6b02eecec
[bug] shadowMap using linear depth macro with webgl v3.6.0 ( #11993 )
2022-07-14 18:22:24 +08:00
troublemaker52025
2701f96644
[Bug] fix planar-shadow not display when dir light shadow disabled v3.6.0 ( #11984 )
...
* [Bug] fix planar-shadow not display v3.6.0
* sync to CI test
* sync to native
2022-07-14 16:06:01 +08:00
troublemaker52025
efada734d6
fix csm effect error at metal v3.6.0 ( #11931 )
2022-07-11 18:25:01 +08:00
bofeng-song
113fad0259
refine: rename windowHanler to windowHandle, rename onDestory to onDestroy ( #11907 )
2022-07-09 13:54:18 +08:00
Zeqiang Li
192322f836
fix mtlCommandBuffer life cycle inside NSLoop ( #11904 )
2022-07-09 11:20:21 +08:00
James Chen
cb4b0014ed
Fix crash if closing app in surface shader test case. ( #11896 )
2022-07-08 19:19:35 +08:00
bofeng-song
7c8492c668
remove unneeded code, gameActivity has been ensured the render lifecycle ( #11897 )
2022-07-08 18:20:38 +08:00
Zhang mingzhen
b32830a3e8
V3.6.0 batcher2d to native ( #11592 )
2022-07-08 17:10:48 +08:00
Yiwen
00bd0f514d
Fix vk validation warning ( #11884 )
...
* fix vk offset alignment and es ds reset
2022-07-08 10:13:43 +08:00
Yiwen
778ad062bc
add a method to reset the global descriptor's shadow map ( #11881 )
...
* add a method to reset the global descriptor's shadow map
2022-07-08 10:10:08 +08:00
Yiwen
359ae855a5
record original queues if the sort function is not invoked. ( #11871 )
...
* record original queues if the sort function is not invoked.
* re-enable the instance queue's sort fucntion
* fix es lint
2022-07-06 16:16:29 +08:00
Yiwen
83cfd5c401
use the original order to fix the instance lighting and casting shadows ( #11865 )
2022-07-06 00:00:16 +08:00
Yiwen
cca281e483
fix copybufferstotexture ( #11860 )
...
* fix copybufferstotexture
2022-07-05 22:24:23 +08:00
James Chen
b871eb1086
Clear shader source after they're uploaded to GPU. ( #11781 )
2022-07-05 16:06:54 +08:00
Yiwen
f09168ce1b
Add a basic sort function for RenderInstancedQueue. ( #11193 )
...
* fix instancing draw order
2022-07-05 15:44:08 +08:00
minggo
54fc7be53f
do not use align malloc ( #11844 )
...
c++17 supports create an aligned struct
2022-07-05 14:30:12 +08:00
Yiwen
8d4b6cbc96
fix the device crach appeared when the device fallback is performed ( #11818 )
...
* fix the device crach appeared when the device fallback is performed
* Fix crash on SM-9005 (#2 )
Co-authored-by: James Chen <dumganhar@gmail.com >
2022-07-05 09:56:46 +08:00
James Chen
9fdfb687e2
Mesh supports half float format and the data can be deleted
...
1. Add support for converting float to half from some vertex attributes at runtime;
2. Add Mesh.allowDataAccess property for releasing data after it is uploaded to GPU
2022-07-04 16:59:51 +08:00
minggo
02a1eb0f55
Use raw pointer ( #11804 )
...
* Revert "use IntrusivePtr to share object (#11729 )"
This reverts commit 8caec59711 .
* Framebuffer uses weak reference
* make doDestroy reentency
2022-07-04 10:20:07 +08:00
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00
troublemaker52025
913aec8227
reduce instanced queue recordCommandBuffer at render-additive-light-queue v3.6.0 ( #11798 )
2022-07-01 19:33:36 +08:00
minggo
699c6c58d2
some refactor ( #11810 )
...
- put related codes together
- use more meaningful variable names
- do not use temple vector as possible
2022-07-01 19:00:06 +08:00
jk20012001
402cf1602a
code style: rename spotlightingmap->spotshadowmap ( #11800 )
2022-07-01 16:17:52 +08:00
James Chen
cc07c54204
Fix crash if device doesn't support vulkan or gles3 ( #11803 )
2022-07-01 14:59:34 +08:00
troublemaker52025
98b1eea826
[v3.6.0] fix switch scenes clash ( #11778 )
...
* fix switch scenes clash for v3.6.0
* update
* update
* fix ci error
2022-06-30 23:38:12 +08:00
minggo
6bb5f9d447
use smart pointer and remove unneeded codes ( #11750 )
2022-06-30 17:01:17 +08:00
minggo
3fd06707ab
use smart pointer as possible ( #11754 )
2022-06-30 17:00:51 +08:00
李吉林
1f12c3e88e
fix geometry renderer update buffer in metal ( #11772 )
...
* fix geometry renderer update buffer in metal
2022-06-30 16:37:07 +08:00
Zeqiang Li
da29f65e09
vk android compile issue' ( #11770 )
2022-06-30 15:35:52 +08:00
troublemaker52025
21b6f7bdd7
Fix spot shadow and punctual light errors ( #11758 )
...
* reduce Instanced-queue commit v3.6.0
* fix spot light culling error
* fix spot light shadow culling error && fix instanced and batched queue use dnymicOffset error && optimize spot light no cast shadow will error
* update
* update 2
* update 3
* update 4
* update 5
* use lightPassPool
* native engine use AdditiveLightPass
* delete spot light `hasCastShadowObjects` func
* update
2022-06-30 14:36:31 +08:00
徐兵
25a0ed782e
fix crash on vivoX7Plus from issue #10779 ( #11757 )
2022-06-30 14:12:10 +08:00
James Chen
174ba0eff2
Add macros: CC_USE_GEOMETRY_RENDERER and CC_USE_DEBUG_RENDERER to control these debugging features. ( #11740 )
2022-06-30 10:25:02 +08:00
李吉林
f3be7666a2
crop geometry renderer & debug renderer ( #11752 )
2022-06-29 17:16:17 +08:00
minggo
9ff2e6c692
fix crash ( #11737 )
...
* fix crash
2022-06-29 14:31:11 +08:00
minggo
8caec59711
use IntrusivePtr to share object ( #11729 )
2022-06-28 18:01:47 +08:00
minggo
98d58f69a0
memory usage check ( #11716 )
...
* memory usage check
2022-06-28 14:31:13 +08:00
minggo
524d859db3
check memory usage ( #11714 )
2022-06-27 17:42:36 +08:00
minggo
6c9203e4e3
add some comments and remove unneeded codes ( #11713 )
2022-06-27 15:31:48 +08:00
hyde zhou
8d25a7ddca
fix forceUpdate ( #11706 )
...
* fix forceUpdate
2022-06-27 11:39:25 +08:00
minggo
1f7e135438
use reference count to release ( #11699 )
2022-06-27 09:55:09 +08:00
minggo
9fb1d85642
fix memory leak ( #11700 )
2022-06-27 09:54:47 +08:00
Yiwen
0f5bd9fb7d
fix logic error in copyBufferstoTexture's validation check ( #11703 )
2022-06-25 14:51:55 +08:00
pandamicro
12072ffc62
Merge v3.5.1 zqb branch to v3.6 ( #11637 )
...
* support asset property preview (#11017 )
(cherry picked from commit 85769cf8f81459b5ad98ccab4138420009572a32)
* show mesh asset thumbnail (#10981 )
* V3.5.1 noise particle (#11003 )
* add cpu & gpu noise for particle
* add some params & change particle noise shader
* change shader
* add cpu noise particle
* add noise preview
* run generation when preview
* revert shaders
* remove unused statements
* add particle noise module
* change noise preview interface
* add invisible to remap
* remove get deltaTime
* set noiseModule private
* fix eslint
* feat: add noise preview (#11260 )
* [Optimize] asset editing undo (#10779 )
* edit render-pipeline
* support renderpipeline undo
* optimize material editing undo
* reset last record data
* temporary not support animation-mask undo
* support animation-mask edit undo
* animation mask remove _jointMasks
* Animation clip embedded players (#11320 )
* Animation clip subregions
* Log
* Test
* Eval
* Update
* Update
* No longer use animation state to implement clip motion
* Clear subregions
* Fix
* Mark subregion as editor extendable
* Animation clip subregion player path
* fix isnan(0.0) with webgl1.0 (#11262 )
* fix isinf(0.0)==true with webgl1.0
* code style
* fix specular params with surface toon (#11265 )
* code format and add sliders for parameters (#11266 )
* Broadcasting of animation state\'s speed
* Fix
* Rename
* Update
* Fix
* Revert "No longer use animation state to implement clip motion"
This reverts commit 20755f9ec525b27b5b9a515c8dd687349aa4c637.
* Revert some exotic changes
* Update docs
Co-authored-by: jk20012001 <jkregister@163.com >
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com >
* fix skinning model split (#11378 )
* fix skinning model split
* rename function _resizeMaxJointForDS
Co-authored-by: zhakesi <zhakesi@foxmail.com >
* [ci skip][AUTO]: Automated genbindings update: d823cbba1f7ce8284da28458c26534da2e033961 (#11378 ) (#11383 )
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
* use stop emitting instead (#11381 )
* add stop emitting api
* use stop emitting instead
* Update cocos/particle/particle-system.ts
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
* fix: imageData fault tolerance (#11374 )
* fix: imageData fault tolerance
* chore: when data is an empty array,stop the function
* material undo updating effects list (#11409 )
* modify noise module ui (#11433 )
* use visible decorator to control the visibility of property (#11438 )
* fix joints data with value nan (#11489 )
* V3.5.2 CI Android NDK set version to 21 (#11448 ) (#11492 )
* Minor improvement
* Fix format
* Fix particle culler
* Improve particle culler
* Manually migrate joint data upload with texture in skinning model
* Update shaders for skinning model based on joint texture
* fis native skinning model with realtime-texture mode (#45 )
Co-authored-by: zhakesi <zhakesi@foxmail.com >
* fix clangtidy (#46 )
* Small tweaks
* modify code struct for skinning model (#47 )
* modify code struct for skinning model
* update skinning chunk
Co-authored-by: 黄森斌 <arsen2010@126.com >
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: 袁炜海 <35713518+dogodo-cc@users.noreply.github.com >
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
Co-authored-by: jk20012001 <jkregister@163.com >
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com >
Co-authored-by: zhakesi <liqiao@cocos.com >
Co-authored-by: zhakesi <zhakesi@foxmail.com >
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
Co-authored-by: Santy-Wang <wh19930829@qq.com >
Co-authored-by: zhangxin <59186205+chichinohaha@users.noreply.github.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-06-24 15:10:45 +08:00
minggo
ae2f9aad14
add comment ( #11688 )
...
_pass is just a weak reference, it is not used internally
2022-06-24 10:47:29 +08:00
minggo
69c2ff6a2a
use IntrusivePtr to share objects ( #11674 )
...
* use IntrusivePtr to share objects
2022-06-24 09:33:52 +08:00
minggo
4b8b032ad8
delete subindex function ( #11667 )
...
* delete subindex function
2022-06-23 14:53:02 +08:00