Commit Graph

536 Commits

Author SHA1 Message Date
Yun Hsiao Wu 1763f2556e fix default property missing when property index is set (#9683) 2021-11-18 16:35:29 +08:00
Leslie Leigh (李的序) 05484abc30 Rename animation.StateStatus -> animation.MotionStateStatus (#9675) 2021-11-17 15:55:03 +08:00
jk20012001 dea29af42d unlit shader linear mode (#9671) 2021-11-16 18:44:01 +08:00
jk20012001 d3fe96f5cc Fix linear color in other effects (#9665)
* Fix linear color in other effects

* Update compiled shaders

* Fix name
2021-11-16 17:48:38 +08:00
zxx43 781ae1a6dc V3.4 vulkan shader fix (#9663)
* fix pseudoRandom vulkan compatible issue

* refine shader

* add comment for this issue
2021-11-15 20:03:39 +08:00
Leslie Leigh (李的序) a23c8aa98d Update fbx meta (#9653) 2021-11-13 20:05:46 +08:00
zhangxin 4f40ae2fef add quote-props rules and eslint fix (#9656) 2021-11-13 17:44:58 +08:00
黄森斌 1a03cd1f0b fix render-texture edit (#9635) 2021-11-10 23:02:27 +08:00
jk20012001 4f3d85ab78 Fix fog macro->function arguments type error (#9637)
* Fix fog macro->function arguments type error
Fix fog color linear conversion

* Fix eslint warning
2021-11-10 14:31:09 +08:00
GengineJS 1d0fadb6f4 Restore part of pipeline code (#9644) 2021-11-10 13:46:49 +08:00
Zhang mingzhen ef3d4a9884 Optimize label serialization of "spacingX" and "underlineHeight" (#9629)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-05 14:07:45 +08:00
Zhang mingzhen 60cae28a26 Optimize label serialization of "spacingX" and "underlineHeight" on v3.4 (#9628)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-05 14:07:09 +08:00
zxx43 fbdc0ef287 add renderCulling tool tip (#9619) 2021-11-04 23:16:14 +08:00
ChiaNing fd20b561be remove GPU_DRIVEN flag (#9617) 2021-11-04 12:44:24 +08:00
Yun Hsiao Wu fa1ad1eee6 pass owns instanced/batched buffer (#9605)
* pass owns instanced/batched buffer

* no zero-sized buffer

* fix effect default content
2021-11-04 12:08:07 +08:00
zxx43 b12d9cac59 Fix tooltip mistake (#9603)
* fix doc mistake

* modify some description

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-11-04 00:13:47 +08:00
zxx43 02094d319c Change enable culling to render culling & replace enable culling as data culling (#9611)
* remove enable culling & use render culling instead

* fix setter
2021-11-03 23:52:33 +08:00
zhangxin f3d04f76c0 Refactor particle system render culling (#9613)
* enableCulling to data Culling

* Update particle-system.js
2021-11-03 23:52:14 +08:00
Santy-Wang d1964d4752 remove animation of primitive (#9602) 2021-11-03 12:00:25 +08:00
zhakesi 7e8c6639de revert fix skinning instancing animation (#9598) 2021-11-02 14:36:31 +08:00
Leslie Leigh (李的序) 1aa683493f Fix prefer local time span default value display (#9597) 2021-11-02 11:48:39 +08:00
ChiaNing ab711df60b cut batcher-2d file by cc.config (#9587)
* cut batcher-2d file by cc.config

* name fix
2021-11-02 11:43:57 +08:00
jk20012001 5dcdb6319b Linearcolor (#9588)
* Fix #9633 color picker linear conversion in unlit shader

* Update compiled shaders

* Fix material: linear space input #9558 delete properties leads to black albedo in additive pass

* Update compiled shaders

* Revert format change

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-11-01 22:21:00 +08:00
Leslie Leigh (李的序) 4ca70507b2 Prefer local time span (#9593) 2021-11-01 19:16:39 +08:00
Leslie Leigh (李的序) 07fb27dac4 Support more state machine component callbacks (#9556)
* StateMachineComponent

* Rename
2021-11-01 10:31:27 +08:00
zxx43 ee950e4b93 Particle tooltip (#9492)
* add tooltips for particle system

* refine particle tool tips

* change some descriptions

* Update editor/i18n/zh/localization.js

Co-authored-by: yufang.wu <2435731537@qq.com>

* refine some statements

Co-authored-by: yufang.wu <2435731537@qq.com>
2021-10-30 22:08:29 +08:00
黄森斌 82a3d64adc modify render-texture editing (#9578) 2021-10-30 22:04:11 +08:00
jk20012001 56515cc84f Code style: replace macros to functions (#9572)
* Code style: replace macros to functions

* Update compiled shaders
2021-10-29 18:16:47 +08:00
pandamicro d5e417ac28 Merge pull request #9569 from cocos-creator/v3.4.0
sync V3.4.0 to V3.5.0
2021-10-29 13:31:05 +08:00
Yun Hsiao Wu c66ef23455 material: linear space input (#9558) 2021-10-29 11:11:50 +08:00
jk20012001 05bfe29cc2 Fog on big plane #7907 (#9561)
* Add accurate fog (pixel fog), add fog start support to exp fog

* Update compiled shaders

* effects support accurate fog
2021-10-29 10:22:46 +08:00
GengineJS eab5b9f746 Organize the pipeline and modify the default stage of builtin-forward.rpp (#9551) 2021-10-28 15:58:27 +08:00
Zhang mingzhen 6cf23d3054 Serialization of SpacingX (#9541)
* Serialize the attribute "SpacingX" in inspector of Label

* Add annotations of SpacingX in Label.ts#9187

* Add space between chinese and english characters.

* optimize tooltips and annotations

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-28 14:57:28 +08:00
zhakesi 325b2cf1f1 fix instancing animation rendering on some platforms with no float-texture supported (#9550) 2021-10-28 14:14:49 +08:00
jk20012001 9913b468ad IBL Reflection Denoise (#9552)
* Add reflection denoise

* Update compiled shaders
2021-10-27 17:14:50 +08:00
黄森斌 8945ed437a open animation graph by asset-db (#9530) 2021-10-27 16:35:07 +08:00
黄森斌 cd819a4535 update scene template (#9531) 2021-10-25 13:35:11 +08:00
Zhang mingzhen 1448c55ab7 update tooltips of "cocos/2d" and "cocos/ui"#9163 (#9489)
* Update tooltips of sprite-frame and texture(#9163)

* Supplement some tooltips and annotations of som attributes in folder "cocos/2d/component" and "cocos/ui"

* Optimize some tooltips according to comments of PR

* optimize tooltips according to comment at 2021/10/19

(cherry picked from commit fe3d0a910fe11489521c46656343483a502594c3)

* fix "anisotropy" interpretation.It emphasizes threshold instead of just amount.

(cherry picked from commit d06a8c3d6b2d4205a9a51dc769d32ae1eb707b9a)

* optimize tooltips according to EricCorleone's comment at 2021/10/19

(cherry picked from commit df7044bb73a0e1b1dc1f9e946a45d96bc839b00e)

* optimize tooltips according to Xunyi0's comment at 2021/10/20

(cherry picked from commit 6b42df5c69d12a74adee44bc9add2c27e6064c9f)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-25 11:49:58 +08:00
jk20012001 5732646608 Fix PBR lighting trick issues (#9510)
* Fix PBR lighting trick issues
Fix unlit shader in HDR mode

* Update compiled shaders
2021-10-22 10:54:13 +08:00
Yun Hsiao Wu bf3b561403 render area affects viewport only (#9502) 2021-10-19 17:04:21 +08:00
黄森斌 096cb7d16a modify animation graph i18n (#9495) 2021-10-18 15:02:44 +08:00
Leslie Leigh (李的序) 6583b7c780 Hide animation graph asset creation API in runtime (#9491) 2021-10-15 15:23:23 +08:00
Leslie Leigh (李的序) 39adb27a3d Fix FBX animation frame rate (#9485)
* 0 fps

* modify i18n in fbx editing (#71)

Co-authored-by: 黄森斌 <arsen2010@126.com>
2021-10-14 18:03:25 +08:00
jk20012001 99ba6505e4 Fix render-camera-to-model color display error (#9487)
* Fix render-camera-to-model color display error
Move materials to default-materials folder

* rename
2021-10-14 16:25:13 +08:00
Leslie Leigh (李的序) f34ffcbfbc Support module overrides without compiliation in dev mode (#9480)
* Support module overrides without compiliation in dev mode

* Update render-config.json
2021-10-14 10:30:08 +08:00
李吉林 5dbb1812f2 V3.4.0 occlusion query2 (#9475)
* occlusion query

* add supportQuery

* fix name for occlusion query

* remove redundant function

Co-authored-by: lijilin <jilin.li@cocos.com>
2021-10-14 10:30:08 +08:00
Kun Lin 8127b6da9d Update bloom (#9465)
* Update bloom

* Remove bloom pass for UI camera
2021-10-14 10:29:37 +08:00
jk20012001 e489c1c49e Revert clear color linear convert (#9477)
Fix create new scene display error
Fix RGBE macro not match with useIBL disabled
2021-10-14 10:29:37 +08:00
zheng han dd43bbb12a fix grid position (#9461) 2021-10-14 10:29:37 +08:00
pandamicro 8e3eb9db05 Support HDR/LDR Light Sources (#9439)
* Added base rendering logic

* Hide using decorators Diffuse reflection map control and ApplyDiffuseMap whenever IBL is disabled

* Added HDR toggle to scene globals

* Fix bug when ApplyDiffuseMap is left checked when envmap is deleted & disable IBL when envmap is deleted

* Add changes to allow rendering the diffuse convolution map

* Added functions to permit setting sky and ground color (hemispheric lighting) from irradiance calculated from a set envmap. That is, when a diffuse reflection irradiance convolution is not used. Also code to discern LDR from HDR

* Various mods

* Permit independent Hemispheric Lighting parameters to be serialized for LDR/HDR

* Add HDR normalization

* Set HDR shader macro

* Modify Illiminance based on global LDR/HDR setting

* Add LDR/HDR versions for luminous flux

* Add distinct LDR/HDR for SpotLight/SphereLight luminous flux

* Adding LDR as the new serialized value, as HDR is assumed by default in previous versions

* Modified hemisphericc ambient light to assume HDR as default removing the necesesity for migration code

* HDR is on by default

* Fix directional light constructor removal

* HDR/LDR fixes for sphere, spot, and directional lights

* Fix the HDR/LDR mode switching on UseHDR toggle

* Switch UI to and from LDR/HDR envmap depending on HDR toggle state

* Make LDR envmap and diffusemap's serializable

* Partial Float32Array->Vec4 conversion

* Fixed passed Vec4() into UBO for skycolor and groundalbedo

* Fixed copy/paste error

* Fix ambient illumination passing into global UBO

* Modify UBOs to call correct luminance functions

* Modification to punctual lights

* Add missing dependency

* Fix HDR/LDR envmap/diffuse map initialization bug

* Add support for native engine

* update_hdr_skybox (#9230)

* update material preview when custom panel change (#9340)

* update material preview when custom panel change

fixed https://github.com/cocos-creator/3d-tasks/issues/8663

* update material preview when custom panel change

fixed https://github.com/cocos-creator/3d-tasks/issues/8663

* Update material.js

* Fix native light function invoke error

* Unify API naming in light

* Improve scene-globals code organization

* Update jsb apis

* Reverse getter setter for spotLight luminance

* Fix unexpectable result of toggle HDR and ApplyDiffuseMap options

* Remove fpScale, make deferred and forward uniform

* Fix skybox macro recompiling error

* Fix shader compiling errors
Fix unlit shader in HDR/LDR output

Co-authored-by: Jamie Anthony Morris <Jamie.Morris@cocos.com>
Co-authored-by: Jamie Anthony Morris <47879963+Jacksparrow2525@users.noreply.github.com>
Co-authored-by: jk20012001 <jkregister@163.com>
Co-authored-by: linshunjun <49218738+linshunjun@users.noreply.github.com>
Co-authored-by: zhangxin <59186205+chichinohaha@users.noreply.github.com>
2021-10-14 10:29:36 +08:00