Commit Graph

16 Commits

Author SHA1 Message Date
jk20012001 5f75e3a206 add constants for surface shaders (#10590)
* make sure shader include

* add constants
2022-03-30 17:37:13 +08:00
jk20012001 6e93a0e10f Fix #11796 using cc_shadowbias without batching macro (#10587)
* Fix #11796 using cc_shadowbias without batching macro

* code style
2022-03-30 15:01:41 +08:00
jk20012001 6e4d4a30ac code style for surface shader (#10326) 2022-03-15 14:31:41 +08:00
Yun Hsiao Wu 21e4e2e0c8 update effects (#10145) 2022-02-22 16:19:15 +08:00
jk20012001 eb883997a1 Fix #10538: Android+WebGL PS struct variables has mediump precision (#9863)
* Fix #10538: Android+WebGL PS struct variables has mediump precision

* update compiled shaders

* review modification

* update compiled shaders
2021-12-24 11:01:54 +08:00
jk20012001 2cbc8a3ed5 Fix effect blend state syntax error (#9708)
* Fix effect blend state syntax error
Add isNan function

* code style
2021-11-23 14:28:02 +08:00
lawrence-liuyue 6b764d2e33 Enable Subpass in deferred pipeline (#9419)
* enable subpass in deferred pipeline

* subpass fix compile error in opengl

* build effects
2021-10-03 17:22:54 +08:00
DolaMay a785144943 cluster ts engine v340 code (#9405)
* cluster ts engine v340 code

* add macro to enable/disable cluster feature

* fix cluster switch bug
2021-09-30 10:16:53 +08:00
Yun Hsiao Wu 0f0905c381 opt memory pool bound checking (#8585) 2021-04-28 21:46:41 +08:00
GengineJS d9a08ea128 [Feature] deferred rt adapter (#8542)
* [Feature] deferred rt adapter

* [Feature] change deferred quad calculation

* [Remove] Removed pipeline offscreen judgment
2021-04-25 16:17:50 +08:00
GengineJS 8b89c3fef2 [Feature] Rt adaptation (#8483)
* [Feature] Rt adaptation

* [Feature] Effect adds CC_HANDLE_GET_CLIP_FLIP function

* update effect

* update effects
2021-04-19 20:05:48 +08:00
Yun Hsiao Wu 24b1c6695d update CommandBuffer.draw (#8423)
* update CommandBuffer.draw

* effect: runtime constants
2021-04-12 09:41:35 +08:00
troublemaker52025 3375a5cf15 Shadow optimization (#7459)
* toon receives shadow

* fix gfx state cache

* 背面消影

* merge cc_ShadowPCF && cc_ShadowMapSize to cc_ShadowInfo;  add bias to shader and editor

* update

* merge pr #7452

https://github.com/cocos-creator/engine/pull/7452

* reomve atten; use NL

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2020-09-30 15:36:01 +08:00
Leslie Leigh (李的序) 3384e300a4 Fix decode32 precision issue (#7371)
* Fix decode32 precision issue

* Typo


Typo


Typo
2020-09-14 17:52:34 +08:00
Yun Hsiao Wu e7ef53bd50 fix decode header (#7225) 2020-08-26 18:29:21 +08:00
SijieWang fbb6c52314 Move internal assets to the engine (#7093) 2020-08-06 22:09:24 +08:00