Commit Graph

407 Commits

Author SHA1 Message Date
troublemaker52025 f2cf0df089 [optimization] Shield soft_ 4X PCF sampling (#12297) 2022-08-02 19:13:03 +08:00
袁炜海 b71c9f66c0 feat: update meta (#12248) 2022-07-28 18:50:00 +08:00
徐兵 e704d5e9c9 remove USE_REFLECTION_CUBEMAP (#12215) 2022-07-27 17:56:32 +08:00
jk20012001 a56f66b619 surface shader support render-to-reflectmap (#12223) 2022-07-27 17:33:58 +08:00
jk20012001 79f2b97827 [fix] shader compilation error (#12203) 2022-07-26 17:14:31 +08:00
jk20012001 498e88def9 [fix] baked object can't receive dynamic shadow (#12194) 2022-07-26 15:49:44 +08:00
jk20012001 cf8281100a [optimize] disable denoise with convoluted reflection map (#12140) 2022-07-22 08:48:02 +08:00
徐兵 2e69f679d3 reflection convolutional map baking speed optimization (#12112) 2022-07-21 19:20:42 +08:00
troublemaker52025 b84a276944 [optimization] compress csm ubo (#12111) 2022-07-21 17:50:29 +08:00
jk20012001 4a5af0811f [bug] fix IBL miplevel exceed limit (#12117) 2022-07-21 14:40:04 +08:00
jk20012001 81a8656bd9 update chunk and effect meta files (#12108) 2022-07-21 10:57:49 +08:00
Ling Zhan 811ed11bfa default physics material useing internal asset : default-physics-mate… (#11855)
* default physics material useing internal asset : default-physics-material.pmtl. todo: Project Setting's physics material config need to use this asset too. (#12662)

* support set default physics material value from project setting panel. It will effect the packaging processing, and scene loading(todo). this value will not be saved to default-physics-material.pmtl.

* fix physics-system unit test failure: physics system 's constructAndRegister() will directly init default physics material if the default physics material asset is ready

* minor modification of PhysicsSystem::_updateMaterial
2022-07-21 10:37:15 +08:00
troublemaker52025 d5f77d0af1 [optimization] Split csm ubo v3.6.0 (#12072)
* split csm ubo v3.6.0

* update

* Modify *.meta  file to ignore material upgrade

* update

* update

* update 2

* use better struct padding and save memory

* update mate

* fix ci error

* memory alignment

* update

* update 2

* chenge func name

* update
2022-07-20 22:58:25 +08:00
徐兵 2be3554f9f modify the type of albedoScaled and transparencyFactor multiplied by baseColor.a (#12071) 2022-07-20 10:41:31 +08:00
jk20012001 f9db1777a2 [optimize] avoid calculate dir lighting and shadows with lightmap (#12027) 2022-07-18 11:40:20 +08:00
jk20012001 3da86aed53 [optimize] shadow pass texture sampling without alpha test (#12005) 2022-07-18 11:32:50 +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 fbf7704865 [update] Fix linear depth function for spot shadow v3.6.0 (#11951) 2022-07-14 15:13:34 +08:00
徐兵 a04e261f32 add support to DCC effect for maximo and blender specularMap (#11953)
* add DCC_APP_BLENDER

* remove function calculateBaseColorAndPBRParams
2022-07-13 16:39:57 +08:00
jk20012001 d2ea1877b0 optimize shader compiling and fix soft5x (#11869)
* optimize shader compiling

* fix compile error

* optimize native 5x
2022-07-12 10:03:50 +08:00
jk20012001 32c99d1ca3 debug view use significant color for invalid data, and gamma correction read (#11917)
* debug view use significant color for invalid data, fix gamma correction read & write

* fix macros

* fix macros
2022-07-11 17:50:45 +08:00
徐兵 e000e16d55 fix alpha channel invalid in dcc effect (#11885)
* add OCCLUSION_UV

* fix alpha channel invalid

* fix alpha channel invalid
2022-07-07 18:05:23 +08:00
徐兵 8c9d99a44a add occlusionMap for dcc effect (#11870) 2022-07-06 11:59:44 +08:00
Yiwen 01109e2554 correct precision of planar-shader's fragment shader (#11831) 2022-07-04 15:52:34 +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
袁炜海 0c29698a25 feat: update meta (#11814) 2022-07-01 21:31:34 +08:00
jk20012001 402cf1602a code style: rename spotlightingmap->spotshadowmap (#11800) 2022-07-01 16:17:52 +08:00
徐兵 63cf1f59cc add DCC_APP_GLTF and modify DCC_APP_NAME (#11801)
* add DCC_APP_GLTF

* add surfaces dcc effect
2022-07-01 14:57:42 +08:00
jk20012001 1584bbd2ca migrates default chunk include (#11786) 2022-06-30 17:54:50 +08:00
袁炜海 61b82376bc feat: update xx.meta (#11753) 2022-06-29 16:44:44 +08:00
徐兵 ec168ad147 fix SHININESS_MAP_CHANNEL compilation error and CCGetCSMLevel function parameter modify (#11721)
* fix SHININESS_MAP_CHANNEL compilation error and  CCGetCSMLevel function parameter modify

* parameter update
2022-06-28 16:26:05 +08:00
徐兵 fc9161fe9e fix crash on oppo r11 (#11718) 2022-06-27 21:27:33 +08:00
jk20012001 7ce49b2673 fix create new effect needs migration #12651 (#11707) 2022-06-26 22:46:10 +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
ChiaNing 6ca746e64e Sprite Renderer add (#11634)
* Revert "Revert "First Version Sprite Renderer(Rect mode) (#10592)" (#11626)"

This reverts commit abc8f47b6f.

* bug fix & doc add

* add mesh check

* function name change

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-06-23 12:46:15 +08:00
徐兵 7d74f56c19 fix crash on mi 6 from issue 10779 (#11641) 2022-06-23 10:50:47 +08:00
jk20012001 ae825997fa fix shadow bias in dcc effect (#11663) 2022-06-23 10:34:00 +08:00
jk20012001 037857a1e7 fix surface shader compilation error and composite mode without shadow (#11656) 2022-06-22 18:22:08 +08:00
袁炜海 5dea706826 feat: update meta (#11633) 2022-06-21 15:12:22 +08:00
ChiaNing abc8f47b6f Revert "First Version Sprite Renderer(Rect mode) (#10592)" (#11626)
This reverts commit d7d9c6cce7.
2022-06-20 20:22:53 +08:00
ChiaNing d7d9c6cce7 First Version Sprite Renderer(Rect mode) (#10592)
* First Version Sprite Renderer

* Serialize Vertices

* remove

* Sorting Layer & Sorting Order add

* fix for trim mode

* SpriteFrame inspector change

* Revert "Sorting Layer & Sorting Order add"

This reverts commit ca000ad79dadc4d09707a06c4514abdb6ab0fc6f.

* misc fix

* format change

* import change

* useless builtin res remove

* misc fix

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-06-20 17:35:50 +08:00
jk20012001 aaba13ce23 optimize and arrange shader code (#11601)
arrange and optimize shader code
2022-06-18 19:01:10 +08:00
徐兵 a8f195e5d7 using built-in function (#11567)
optimize dcc effect code
2022-06-17 11:53:08 +08:00
jk20012001 3cf9aaee4e arrange chunks (#11551)
* arrange chunks

* update compiled shaders

* code style
2022-06-16 22:14:09 +08:00
jk20012001 2a122bfc68 builtin\internal-functions rename to builtin\functionalities (#11546) 2022-06-16 15:51:03 +08:00
jk20012001 48bd6fe0ba Fix shader compiling error (#11512)
* add native pcf for shadow-map.chunk

* update compiled shaders
2022-06-15 13:38:15 +08:00
jk20012001 589082e585 Beforemigration (#11497)
* add shadow for surface shader
fix sky effect cc_matworld

* optimize ts code
2022-06-14 20:44:51 +08:00
徐兵 214f5e3dfc add specularGlossinessMap (#11502)
* add  specularGlossinessMap

* remove diffuseScale

* specularGlossinessMap modifiy
2022-06-14 19:18:37 +08:00
jk20012001 9965af4abb add debug view mode (#11449)
* add debug view mode

* code style

* fix single mode lighting lack of gamma & tonemapping

* comment style

* move from legacyCC to render-pipeline

* fix gamma & tonemapping not matched in debug view modes

* 原生实现

* move to root

* fix CSMLayers

* pack ubo data

* fix binding

* update binding

* update shaders for debug view

* code style

* fix CI
fix fog in composite mode

* resolve conversation

* resolve conversations

* function order

* resolve conversations
2022-06-14 00:13:27 +08:00
troublemaker52025 308f051faf [v3.6.0] fix direction light shadow bias has not effective (#11458) 2022-06-10 17:00:56 +08:00