Commit Graph

95 Commits

Author SHA1 Message Date
Yun Hsiao Wu 4cf1350fe0 gfx: swapchain refactor (#9030)
* update effect.hideInEditor

* swapchain refactor

* webgl multi draw

* implicit depth/stencil format

* native adapt

* explicit resizable texture

* DrawInfo in InputAssembler

* device cached states

* sync defines

* gfx: empty backend

* update playground

* remove profiler camera

* update effect types

* fix pass.resetUniform
2021-08-31 19:40:50 +08:00
PP d7067c29c8 deprecate interface in View module && support pal/screenManager (#8836)
* remove BrowserGetter

* deprecated view.adjustViewportMeta

* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled

* remove view._adjustSizeKeepCanvasSize

* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale

* remove view._originalDesignResolutionSize

* deprecate cc.winSize and cc.visibleRect

update

* access local winSize

* access local visibleRect

* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel

* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"

This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.

* Revert "deprecate cc.visibleRect"

* optimize screen module

update

* update

update

* optimize deprecation info

* rename pal/system to pal/systemInfo

* update pal/systemInfo access in engine layer

* support pal/screenManager

* update pal/screenManager access in engine layer

* fix bug

* optimize deprecation info

* fix auto fullscreen

* fix ci

* fix ci

* update change request

update

update

* fix CI
2021-07-09 18:57:03 +08:00
pandamicro 3068956648 Refactor gfx module naming convention (#7663)
* Remove GFX prefix in gfx module

* Full deprecation for old GFX APIs

* export gfx module

* Fix issues and make deprecated exports backward compatible

* Adaptation in engine modules for gfx

* Fix ci

* fix ci
2020-11-02 09:49:50 +08:00
pandamicro 3240dba206 Component rename for new standard and 2d compatibility (#7103)
* Rename ui related components

* Rename files

* Remove Useless errors

* Fix sealed names

* Fix sealed global variables

* Fix circular reference

* Refactor more component names

* Rename particle and animation related component

* export scene and models sub module in renderer

* Rename ModelComponents to Model

* Refactor LightComponents to Light

* Refactor CameraComponent to Camera

* Refactor ConstraintComponents to Constraint and rename physics comps

* Cleanup and fix issues

* Small fixes

* Refactor Model to MeshRenderer

* Final touch

* Fix data class export

* Better deprecation to cover all old usage

* Simpler and better deprecation with js.setClassAlias

* Fix ci

* Fix editor issue
2020-09-02 15:31:49 +08:00
cary 7eacd78c0d Merge planar shadow and shadow map. (#7185)
* Merge planar shadow and shadow map.

* fix comment

* modify shadows name

* fix ci
2020-08-24 20:21:08 +08:00
pandamicro 4f4cd91d51 Refactor game init process & make splash screen internal (#6391)
* Refactor game init process & make splash screen internal

* Fix ci
2020-03-23 12:59:40 +08:00
Yun Hsiao Wu edd1189518 flexible skinning model (#6131)
* flexible skinning model

* skinning shader works on non-skinning models

* more opts

* UBO default values

* more opts

* update default joint

* more opts

* more opts

* unified skeletal animation component

* misc opts

* fix batched skinning model

* fix mesh interfaces

* texture buffer pool alignment

* move switch to skeletal animation component

* in-shader joint offset

* minor
2020-02-26 11:32:38 +08:00
Leslie Leigh (李的序) 7bdbab1deb Fix bug in IIFE build (#6033)
* Fix bug in IIFE build

* Add 'module' to build engine help

* Rename dev build target name
2020-01-06 10:56:44 +08:00
Yun Hsiao Wu f47cea1422 better playground framework (#5805)
* better playground framework

* remove redundant memops

* minor

* linter

* restore memops
2019-11-29 13:26:34 +08:00
Yun Hsiao Wu fd3d1f3b48 fix skybox in ortho mode (#5340) 2019-09-05 20:24:48 +08:00
Yun Hsiao Wu c100ad41e9 fix node dirty bit (#5083) 2019-08-05 14:52:16 +08:00
Yun Hsiao Wu b134b8db10 node shearing support & detail improve (#5078)
* joints texture free interface

* better socket interaction

* workaround UBO size align bug

* better socket query

* fix playground

* node transform include shearing now

* finer dirty mechanism for node
2019-08-05 10:13:39 +08:00
ChiaNing 67ff1bbe25 vmath deprecated (#5018) 2019-07-30 18:09:54 +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 d7e7f06611 global planar shadow system (#4709)
* doc category

* planar shadow
2019-06-26 09:48:47 +08:00
Yun Hsiao Wu 7dc0bbef30 preview (#4071)
* yellow for missing effect

* default viewID
2019-03-21 00:18:29 +08:00
Yun Hsiao Wu bdb71795e8 directional planar shadow (#4063) 2019-03-19 13:26:36 +08:00
Yun Hsiao Wu 59f7cc1594 material: custom pipeline states (#4059) 2019-03-18 16:46:28 +08:00
Yun Hsiao Wu 86185af02c keepWorldTransform when setParent (#4052) 2019-03-15 16:29:32 +08:00
jerrywwl d9f72b3532 fix texture wrap addressing error on non-power-of-2 texture 2019-03-15 16:26:40 +08:00
Yun Hsiao Wu f882a4198e fix sampler & node (#4048) 2019-03-15 15:17:46 +08:00
Yun Hsiao Wu acb9a6e788 fix program name (#4027) 2019-03-13 17:27:30 +08:00
Yun Hsiao Wu 9a08fae9d1 update IB & restore uniforms (#3991)
* revoke ubo name

* update IB

* restore uniform names
2019-03-09 00:49:13 +08:00
zxg0622 a24abf7b9d modify to local lights (#3988)
* local bindings

* local bindings

* modify to local lights
2019-03-08 19:04:22 +08:00
jerrywwl c2ac9cf6a0 use standard material instead of unlit 2019-03-08 17:05:42 +08:00
jerrywwl 9bea7acb2b fix conflicts 2019-03-07 14:53:55 +08:00
Yun Hsiao Wu cd5e88adeb planar shadow (#3975)
* pass switch

* planar shadows: basic

* planar shadow: framework
2019-03-06 19:37:35 +08:00
jerrywwl 74a0ce15b0 fix conflicts 2019-03-06 09:28:20 +08:00
Yun Hsiao Wu be92434df6 scene globals (#3967) 2019-03-05 15:46:39 +08:00
Yun Hsiao Wu d8d56d3cbc full audio support (#3948)
* sampler cache

* fix GL availability test

* full audio support
2019-03-02 18:38:53 +08:00
Yun Hsiao Wu 1b2edaec93 audio system (#3937)
* audio adapt

* compile shaders as early as possible
2019-02-28 18:48:07 +08:00
jerrywwl ec72fee6b2 tidy code 2019-02-28 15:22:17 +08:00
jerrywwl 4462855771 support sampler & mrt in webgl2 2019-02-28 13:58:50 +08:00
Yun Hsiao Wu d7ee4b6aba builtin UBO pipe (#3931)
* shorter effect name

* audio adapt

* builtin UBO pipe

* modify global ubo in pipeline
2019-02-28 11:50:56 +08:00
Yun Hsiao Wu 23573ad407 performance improves 2019-02-18 15:30:30 +08:00
Yun Hsiao Wu 7842ba562d upload texture mipmap & new material init procedure 2019-01-31 18:31:50 +08:00
Yun Hsiao Wu 6feac8e766 sync effects 2019-01-30 13:21:23 +08:00
Jone 831d3bb3f2 commit ttf 2019-01-29 21:38:03 +08:00
Jone 96ef5578bf testing multiple sprite-component modes 2019-01-29 19:39:58 +08:00
Jone 18dc130d52 add ui test 2019-01-29 14:46:40 +08:00
Yun Hsiao Wu 0351dec226 fixed light pipeline 2019-01-24 18:10:21 +08:00
Yun Hsiao Wu 1d6e4804ec fix effects 2019-01-24 16:02:54 +08:00
Yun Hsiao Wu 5a0f92243d light component 2019-01-24 14:11:38 +08:00
Yun Hsiao Wu de4449490f back to default unlit 2019-01-24 14:11:38 +08:00
Yun Hsiao Wu 31ad0be86a fix uniform array 2019-01-23 19:19:36 +08:00
Yun Hsiao Wu a404510a28 uniform array 2019-01-23 19:01:52 +08:00
jerrywwl 7e6c5dc81e commit files 2019-01-23 18:59:48 +08:00
jerrywwl 01028c1f6a Merge branch '3d' of https://github.com/jerrywwl/engine into 3d 2019-01-23 18:33:50 +08:00
jerrywwl e43c1a3320 commit files 2019-01-23 18:33:46 +08:00
Jone a87815769c make some modifications to editor inspector and add example for ui 2019-01-23 18:23:25 +08:00