Commit Graph

243 Commits

Author SHA1 Message Date
JoneLau 3d5f8fc278 support rendertexture asset (#5050)
* cherry pick (#4833)

* support rendertexture asset
2019-08-01 18:07:34 +08:00
Weiliang Wang f2f9db1cca fix offscreen window can not be rendering issue (#5026)
* modified some interfaces

* fix offscreen window can not be rendering issue
2019-07-31 12:42:35 +08:00
Yun Hsiao Wu a81e7269d2 fix GL2 buffer update (#5007) 2019-07-30 13:43:22 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
Yun Hsiao Wu 1fd6c04970 batched joints texture (#4988)
* joints texture pool

* batched joints texture
2019-07-26 13:55:20 +08:00
Weiliang Wang e8646d4a50 modified some interfaces (#4974) 2019-07-24 20:12:11 +08:00
Weiliang Wang 72b1155a02 optimize samplerLib.getSampler() (#4930)
* optimize samplerLib.getSampler()

* fix sampler state value
2019-07-21 01:21:01 +08:00
Leslie Leigh c17f28201d module division 2 (#4907)
* module division

* update

* update

* small fix

* allow co-existing of physics modules

* update

* upgrade rollup-plugin-node-resolve

* refine build engine cli

* fix

* upgrade rollup plugin commonjs

* fix

* mark physics module as required
2019-07-19 16:12:45 +08:00
Weiliang Wang db12f03059 Revert "module division (#4897)" (#4906)
This reverts commit 78247a0d2f.
2019-07-18 10:45:44 +08:00
Leslie Leigh 78247a0d2f module division (#4897)
* module division

* add animation component

* fetch changes

* dev

* typo
2019-07-18 09:27:02 +08:00
Weiliang Wang 4d89b694ae fix typo comment (#4899) 2019-07-17 16:43:14 +08:00
Weiliang Wang f189f9fc00 remove fuzzy comparison of floating uniform (#4871)
* remove fuzzy comparison of floating uniform

* remove constget import
2019-07-12 14:46:56 +08:00
Yun Hsiao Wu 8a127bc0e7 shut down gracefully when shader compile error encountered (#4828) 2019-07-05 17:52:55 +08:00
Yun Hsiao Wu 575edd2e29 better shader error (#4826) 2019-07-05 16:40:31 +08:00
Weiliang Wang f8cc93ad6b add memory usage status to gfx (#4814) 2019-07-04 14:57:58 +08:00
ChiaNing 00c904d6cb api-doc modfiy (#4803) 2019-07-03 16:07:49 +08:00
Weiliang Wang 6b2c9b0be7 optimize webgl reference code (#4774) 2019-07-01 18:41:09 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
Yun Hsiao Wu 257f966bd3 fix pass & GL constants Changelog: * (#4762)
* fix material props when using pass switches

* don't rely on WebGLRenderingContext static constants

* skybox precision
2019-07-01 09:31:37 +08:00
Yun Hsiao Wu f6d6aab06b bindpose as mat4 (#4738) 2019-06-27 18:35:01 +08:00
Weiliang Wang 8ffe5d45c3 fix alpha blending error (#4716) 2019-06-26 11:45:30 +08:00
Weiliang Wang f7c4d165fb add category api docs (#4692) 2019-06-25 14:02:03 +08:00
Yun Hsiao Wu 06e0b457ae misc fix (#4676)
* main light should be disabled on init

* shader source with line numbers
2019-06-24 10:49:50 +08:00
Yun Hsiao Wu dc45d5e0ce update joints after culling (#4641)
* fix vmath return type

* more docs

* update joints after culling
2019-06-17 17:33:01 +08:00
ChiaNing f49bd31a22 Format adjustment for api doc (#4618) 2019-06-14 09:22:43 +08:00
Weiliang Wang 0ba1ba2d4e add primitive api docs (#4595) 2019-06-12 09:36:58 +08:00
Weiliang Wang e13485cc0e commit gfx api commits (#4583) 2019-06-10 19:06:46 +08:00
Yun Hsiao Wu 1770effd02 combined material for avatar model component (#4552) 2019-06-05 11:37:49 +08:00
Santy-Wang b10ef766b5 adjust deferred loading (#4521)
* remove deferred loading

refine

support deferred loading

adjust deferred loading

refine

* adjust syntax of export

use built-in image to initialize

refine
2019-05-30 16:00:17 +08:00
Yun Hsiao Wu 73dc88266d DQ skinning (#4504) 2019-05-26 23:37:30 +08:00
Yun Hsiao Wu e68c255736 fix avatar model component (#4469) 2019-05-21 23:58:32 +08:00
Leslie Leigh 4fdc7ff920 add exports (#4405)
* add exports

* compiler error
2019-05-13 18:10:03 +08:00
Yun Hsiao Wu 59fe2706df fix mipmap (#4332) 2019-04-28 17:12:50 +08:00
jerrywwl f1d1186a08 fix etc1 format loading 2019-04-26 14:06:44 +08:00
jerrywwl 733dae987e using uint8array instead of ArrayBufferView 2019-04-26 11:51:50 +08:00
jerrywwl c67b27630d fix copressed texture creation on webgl2 2019-04-26 11:30:55 +08:00
jerrywwl b6f82ad6ff fix compressed texture creation bug 2019-04-26 10:27:02 +08:00
jerrywwl 2190d8d0f8 fix import 2019-04-25 19:06:51 +08:00
jerrywwl d83e016f51 fix display error on some android platforms 2019-04-25 18:52:34 +08:00
jerrywwl acf505a32b disable hdr in webgl1 2019-04-25 15:31:02 +08:00
jerrywwl 9228a0284c add avatar component 2019-04-24 16:12:44 +08:00
jerrywwl a568f5adb0 fix depth format error on wetchart 2019-04-16 16:58:21 +08:00
jerrywwl 91bad23840 fix image loading on wechat 2019-04-16 16:07:54 +08:00
jerrywwl 009f317c23 fix mesh loading on wechat 2019-04-16 11:33:03 +08:00
jerrywwl cc2c1beed8 fix build:effect error for ccenum(GFXFormat) 2019-04-11 14:43:05 +08:00
jerrywwl ae96a971d8 fix createMesh() bug 2019-04-10 20:41:52 +08:00
jerrywwl b2fbc56024 Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-04-10 17:04:13 +08:00
jerrywwl 4e9ea0aee6 add compressed texture feature to device 2019-04-10 17:03:13 +08:00
jerrywwl 13577b32c0 adjust mesh structure 2019-04-09 21:02:12 +08:00
jerrywwl c694545e12 fix window resize 2019-04-08 16:42:36 +08:00