Commit Graph

177 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
Yun Hsiao Wu a81e7269d2 fix GL2 buffer update (#5007) 2019-07-30 13:43:22 +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 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
Weiliang Wang 6b2c9b0be7 optimize webgl reference code (#4774) 2019-07-01 18:41:09 +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
Weiliang Wang 8ffe5d45c3 fix alpha blending error (#4716) 2019-06-26 11:45:30 +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
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 e68c255736 fix avatar model component (#4469) 2019-05-21 23:58:32 +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 b6f82ad6ff fix compressed texture creation bug 2019-04-26 10:27:02 +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 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
jerrywwl 5c5fdb38be fix linear sampling 2019-04-08 16:17:24 +08:00
jerrywwl 242b368d48 add offscreen window instead of render target of view 2019-04-08 14:34:09 +08:00
jerrywwl 99c2f8925f add drawcall & tris stats 2019-04-04 18:35:48 +08:00
jerrywwl e11d3f2661 disable ssaa feature 2019-04-04 11:50:17 +08:00
Yun Hsiao Wu 608372e194 get rid of color uniform type (#4141) 2019-04-04 11:21:56 +08:00
jerrywwl b093131f94 add resize shading fbo logic 2019-04-03 15:07:41 +08:00
jerrywwl ddc377bfb0 fix compatible 2019-04-03 10:39:26 +08:00
jerrywwl 4dd9eeaf3c ban webgl2 2019-04-03 10:33:20 +08:00
jerrywwl f3ac9b87a6 fix shading scale 2019-04-03 09:42:36 +08:00
jerrywwl 8dfe881a23 fix resize bug 2019-04-03 02:22:43 +08:00
jerrywwl fc645bd8dc add fps calc 2019-04-02 18:16:16 +08:00
jerrywwl 6256432613 fix webgl state cache error 2019-04-02 16:37:02 +08:00
jerrywwl 724a82c6ec fix resize bug 2019-04-02 14:07:59 +08:00
jerrywwl f76ec7fc39 fix texture filter error without mipmap 2019-04-02 11:42:27 +08:00
jerrywwl a8682cd289 fix shading error 2019-04-02 01:11:31 +08:00
jerrywwl da44c98e7b add resize log 2019-04-01 20:46:37 +08:00
jerrywwl 4d5a07ebdf fix native size error bug when size value is undefined 2019-04-01 20:28:57 +08:00
jerrywwl fce6f94eb4 fix gl resources release bug 2019-03-26 11:29:57 +08:00
jerrywwl 262477980a add msaa to LDR 2019-03-26 00:07:30 +08:00
jerrywwl d8fc85fa4e fix texture creation error when texture size is zero 2019-03-22 13:57:24 +08:00
Leslie Leigh d7aaaa7397 remove webgl-debug (#4083) 2019-03-22 10:44:47 +08:00