Commit Graph

80 Commits

Author SHA1 Message Date
Weiliang Wang c0db61ba49 Merge pull request #11 from YunHsiao/gfx
API fitting
2019-01-08 14:24:44 +08:00
jerrywwl 83b242892c fix floating uniform comparison bug 2019-01-08 14:22:54 +08:00
Yun Hsiao Wu 87a6672db5 fix pass 2019-01-08 14:21:05 +08:00
Yun Hsiao Wu abb02c2ef0 API fitting 2019-01-08 10:29:13 +08:00
Yun Hsiao Wu 29576e8935 material.setProperty 2019-01-07 22:44:08 +08:00
Yun Hsiao Wu 132ca6e05b [API BREAKING] material with passes 2019-01-07 19:39:21 +08:00
Yun Hsiao Wu 2a63d5d934 programlib.ts 2019-01-07 19:36:56 +08:00
Yun Hsiao Wu 3a5926a673 effect initialization 2019-01-07 19:36:56 +08:00
jerrywwl 1c445f3098 add 'isNormalized' to GFXInputAttribute 2019-01-07 16:23:00 +08:00
zhuxuguang fd16680db1 add retrieve render data interface in model 2019-01-04 18:49:43 +08:00
Yun Hsiao Wu 5d3a88ab8a effect 2019-01-03 18:15:19 +08:00
jerrywwl 4e92e1e28d fix gfx bugs, pipeline is ready to work 2019-01-03 13:25:16 +08:00
jerrywwl 41895251ee merge 2019-01-02 19:05:51 +08:00
jerrywwl 50a52ac2e0 fix conflicts 2019-01-02 18:54:40 +08:00
jerrywwl 962ae81ab7 fix gl error 2019-01-02 18:46:33 +08:00
Weiliang Wang f39457540e Merge pull request #6 from YunHsiao/gfx
pass refactor
2019-01-02 18:40:32 +08:00
Yun Hsiao Wu af2789ffd9 pass 2019-01-02 18:19:17 +08:00
zhuxuguang 08a0cf761c adapt render scene in components 2019-01-02 17:52:35 +08:00
jerrywwl 80d0339869 add model management to renderscene 2019-01-02 17:07:43 +08:00
jerrywwl 41c453bf19 rename scene-manager to render-scene 2019-01-02 16:15:26 +08:00
jerrywwl 56b53b2298 add a new scene manager 2019-01-02 15:28:51 +08:00
jerrywwl d9a9add5f5 fix crashes 2019-01-02 02:41:52 +08:00
jerrywwl 5744fff652 move cocos/renderer/pipeline to cocos/pipeline 2018-12-29 18:53:08 +08:00
jerrywwl f5b7bc17c6 Merge branch '3d' of https://github.com/jerrywwl/engine into 3d 2018-12-29 18:37:31 +08:00
jerrywwl ee936231cf update pipeline code 2018-12-29 18:37:24 +08:00
Yun Hsiao Wu d9c271ee00 structure 2018-12-29 18:28:35 +08:00
jerrywwl 7740474a80 add pipeline module 2018-12-29 16:53:59 +08:00
jerrywwl 0dc824f748 add createBindingLayout() to GFXDevice 2018-12-29 13:00:12 +08:00
jerrywwl a018da8891 make compilation sucess 2018-12-28 18:35:07 +08:00
Yun Hsiao Wu ea071ffe48 minor 2018-12-28 16:36:57 +08:00
jerrywwl d48482ef27 fix gfx crash 2018-12-28 10:49:04 +08:00
zhuxuguang d1ce6a8d8b add particle system 2018-12-27 15:00:36 +08:00
jerrywwl 0f542d6299 remove Buffer class reference 2018-12-27 13:31:47 +08:00
jerrywwl 29ec7892fe fetch from upstream 2018-12-27 10:49:17 +08:00
jerrywwl aa78612da9 complete gfx 2018-12-27 10:07:56 +08:00
jerrywwl 02c52a7796 mod gfx 2018-12-26 09:43:48 +08:00
Yun Hsiao Wu 4ef8426b36 resizable buffers (#3674) 2018-12-25 11:29:37 +08:00
Yun Hsiao Wu edf53462fa more robust editor preview (#3666) 2018-12-21 15:42:35 +08:00
Yun Hsiao Wu 367ae4ad3c render to texture (#3662) 2018-12-21 14:16:24 +08:00
jerrywwl 647c272091 add gfx code 2018-12-19 17:36:36 +08:00
Yun Hsiao Wu 148fc1a442 readPixels (#3650)
* better error reporting

* render texture
2018-12-19 14:17:52 +08:00
Yun Hsiao Wu ec9bf142a1 builtin defines (#3633) 2018-12-14 15:51:28 +08:00
Yun Hsiao Wu a9110d6d6b fix builtin effects (#3627)
* texture cube serialization

* rebase

* rebase

* fix builtin effects

* minor

* fix texture cube

* texture serialize

* camera clear flag enum

* fix format
2018-12-14 14:18:37 +08:00
jerrywwl 1eec1fd9c8 add ts build & test files 2018-12-13 09:18:46 +08:00
Yun Hsiao Wu 17b5d9bda3 texture cube from texture2d (#3624)
* texture cube from texture2d

* fix format
2018-12-12 19:12:22 +08:00
Yun Hsiao Wu 2dc989e70e fix defines (#3618)
* fix defines

* fix material copy
2018-12-11 16:19:21 +08:00
Yun Hsiao Wu 6cffc59376 fix primitives (#3613)
* fix primitives

* defines & view clear color
2018-12-11 10:43:07 +08:00
Leslie Leigh 0e08768802 upload joints info only when effect containning skinning function (#3610) 2018-12-09 22:55:52 +08:00
Leslie Leigh 578e811a82 animation in editor v3 (#3604)
* impl texture2d using imageasset

* texture-cube

* fix issue comment

* remove initWithElement and initWithData; fix issue comment

* define TextureUpdateOpts in gfx/texture-2d.js

* optimize some `new ImageAsset`; optimize image-asset; add updateMipmaps() to Texture2D

* use onLoaded, remove hack

* animation in editor v3
2018-12-07 14:47:27 +08:00
Yun Hsiao Wu 1850cabe7b Effect Improvements (#3599)
* default material

* remove effects

* better builtin effects

* builtin primitives

* fix material

* builtin uniforms

* fix percision
2018-12-07 14:38:53 +08:00